上一页 1 ··· 9 10 11 12 13 14 15 下一页
摘要: 问题 类似,可以看到下面的这个问题 回答 总的来说,浮点数无法表示0.1。 这是因为,根据IEEE浮点数标准,float的尾数是23位,权分别为$2^{-1},2^{-2},...$。0.1 = 1/10 = 1/2 * 1/5 = 1 * %2^{-1}% * 1/5,而1/5无法直接找到对应的权 阅读全文
posted @ 2021-12-19 18:02 ijpq 阅读(427) 评论(0) 推荐(0)
摘要: pre 使用了opencv_contrib中的plot 模块,contrib的安装过程存在问题,如果不能解决,可以把plot.cpp/plot.h相关文件先编译一遍,之后再编译的时候带着obj。 需要一些基础的opencv配置知识,知道涉及到的模块该如何build,如何include step1 g 阅读全文
posted @ 2021-12-16 20:15 ijpq 阅读(627) 评论(0) 推荐(0)
摘要: https://docs.microsoft.com/en-us/cpp/preprocessor/hash-include-directive-c-cpp?redirectedfrom=MSDN&view=msvc-170 阅读全文
posted @ 2021-12-16 20:06 ijpq 阅读(33) 评论(0) 推荐(0)
摘要: 安装总览:https://docs.opencv.org/4.x/d0/d3d/tutorial_general_install.html 配置总览:https://docs.opencv.org/4.x/db/d05/tutorial_config_reference.html linux安装教程 阅读全文
posted @ 2021-12-15 19:55 ijpq 阅读(383) 评论(0) 推荐(0)
摘要: 官方文档在此:https://docs.python.org/zh-cn/3.6/library/typing.html 类型别名的作用就是可以定义自己想声明的类型。比如我把List[int]定义为vector_of_int,不过我觉得没啥用,又不能定义成vector 2. newtype 把一个类 阅读全文
posted @ 2021-11-10 19:20 ijpq 阅读(97) 评论(0) 推荐(0)
摘要: 起因 邓俊辉的中序遍历二叉树采用了和前序遍历不同的循环检查方式,在前序遍历时使用stack非空检查,而在中序遍历时采用了while1检查。不便于迁移学习。 分析 视频地址: https://www.bilibili.com/video/BV1jt4y117KR?p=173 中序遍历时,根据规律每次进 阅读全文
posted @ 2021-10-25 09:20 ijpq 阅读(219) 评论(0) 推荐(0)
摘要: IN C gcc 5.4.1 c99 gdb 7.11.1 0X01 array bound are fully determined at compile time. #include <stdio.h> #define R 3 #define C 4 void func(int arr[R][C 阅读全文
posted @ 2021-10-20 12:01 ijpq 阅读(27) 评论(0) 推荐(0)
摘要: Assume that a piece of memory space is requested by malloc type *ptr = (type *) malloc(num * sizeof(element)); the ptr is the first address of the pie 阅读全文
posted @ 2021-10-20 12:01 ijpq 阅读(30) 评论(0) 推荐(0)
摘要: assume $num is the number what you assign through scanf or fscanf or sscanf and so on. while (fscanf(fileptr, formatstring, &var1, &var2,...)!=$num) { 阅读全文
posted @ 2021-10-20 12:01 ijpq 阅读(46) 评论(0) 推荐(0)
摘要: find the variable name translate the operator adjacent to the var name with prioirty translate anthor symbol adjacent to the var in the opposite direc 阅读全文
posted @ 2021-10-20 11:55 ijpq 阅读(33) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 15 下一页