码迷,mamicode.com
首页 >  
搜索关键字:turn    ( 27138个结果
g2o的一般过程
1.自己定义顶点类、边类或者用已经有的。1.1定义顶点例子class CurveFittingVertex: public g2o::BaseVertex<3, Eigen::Vector3d>{public: EIGEN_MAKE_ALIGNED_OPERATOR_NEW virtual void ...
分类:其他好文   时间:2017-08-17 21:25:31    阅读次数:351
Python高级用法------字典无需提前定义key
from collections import defaultdict import json def tree(): return defaultdict(tree) categories = tree() a = categories['Programming Languages']['Pyth... ...
分类:编程语言   时间:2017-08-17 20:00:43    阅读次数:175
笔记-设置可同时识别多个手势
/** 同时识别多个手势 @param gestureRecognizer gestureRecognizer description @param otherGestureRecognizer otherGestureRecognizer description @return return va ...
分类:其他好文   时间:2017-08-17 18:33:18    阅读次数:133
判断浏览器是否IE(IE11可用)
function isIE() { //ie? if (!!window.ActiveXObject || "ActiveXObject" in window) { alert("is ie"); return true; } else { alert("not ie"); return false ...
分类:其他好文   时间:2017-08-17 17:21:58    阅读次数:186
bzoj 1009: [HNOI2008]GT考试 -- KMP+矩阵
1009: [HNOI2008]GT考试 Description 阿申准备报名参加GT考试,准考证号为N位数X1X2....Xn(0<=Xi<=9),他不希望准考证号上出现不吉利的数字。他的不吉利数学A1A2...Am(0<=Ai<=9)有M位,不出现是指X1X2...Xn中没有恰好一段等于A1A2 ...
分类:其他好文   时间:2017-08-17 15:17:28    阅读次数:131
3.STM32F4按键扫描函数
KEY_Scan 函数,则是用来扫描这 4 个 IO 口是否有按键按下。 KEY_Scan 函数, 支持两种扫描方式,通过 mode 参数来设置。 当 mode 为 0 的时候, KEY_Scan 函数将不支持连续按, 扫描某个按键,该按键按下之后必须要松开,才能第二次触发,否则不会再响应这个按键, ...
分类:其他好文   时间:2017-08-17 15:15:41    阅读次数:305
C语言 冒泡排序
冒泡排序( Bubble Sort ) 比较相邻的两个数,如果错误则进行交换,重复访问整个排序的数列 #include <stdio.h> #define KSIZE 8 static int count; // 冒泡排序 void bubble_sort(int a[],int n); int m ...
分类:编程语言   时间:2017-08-17 14:43:27    阅读次数:156
HDU 2057: A + B Again
///@link http://acm.hdu.edu.cn/showproblem.php?pid=2057///@author Sycamore///@date Aug 17#includeusing namespace std;int main(){ ios::sync_with_stdio(... ...
分类:其他好文   时间:2017-08-17 13:06:48    阅读次数:205
php对象和数组互转
function array2object($array) { if (is_array($array)) { $obj = new StdClass(); foreach ($array as $key => $val){ $obj->$key = $val; } } else { $obj = ... ...
分类:编程语言   时间:2017-08-17 13:00:59    阅读次数:131
只有自己看的懂的vue 二叉树的3级联动
我是在vue做的数据 actions mutations state index页面获取值 传递给子页面 子页面的操作 <template> <div class='cascade__container'> <div class='left__container'> <div class='sele ...
分类:其他好文   时间:2017-08-17 12:36:55    阅读次数:1161
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!