上一页 1 2 3 4 5 6 7 8 ··· 23 下一页
目录搜索 在一个大工程中,一般会将源文件和中间生成文件放在不同的目录,而且不会污染源码所在的目录。当需要编译不同目录下的源文件时,就需要指定路径,那么怎样让路径的表示以及源文件的引用更加灵活。就要用到目录搜索功能。 VPATH VPATH:指定依赖文件的搜索目录,当规则的依赖文件在当前目录不存在时, Read More
posted @ 2018-09-13 07:12 suonikeyinsu Views(2258) Comments(0) Diggs(1) Edit
强制目标 1. 定义 如果一个规则(rule_A)既没有依赖也没有命令,仅有目标(Targe_A),并且目标名不冲突。那么,在执行这个规则的时候,目标总被认为是更新过的。如果这个目标(Target_A)作为另一个规则(rule_B)的依赖时,因为依赖总被认为更新过,那么依赖所在的规则中的命令总会被执 Read More
posted @ 2018-09-13 07:06 suonikeyinsu Views(1350) Comments(0) Diggs(1) Edit
makefile 调试 1. 添加调试信息 执行到error时会中断,warning不中断makefile的执行, info不打印当前makefile名和行号。 a.$(warning "some text") warning 不中断makefile的执行,打印warning中的信息,并打印当前ma Read More
posted @ 2018-09-13 07:04 suonikeyinsu Views(3249) Comments(0) Diggs(0) Edit
define&endef 1. 命令包(canned recipes)&多行变量(muti line variables) The define directive is followed on the same line by the name of the variable being defi Read More
posted @ 2018-09-12 20:29 suonikeyinsu Views(960) Comments(0) Diggs(0) Edit
1 变量的定义 A variable is a name defined in a makefile to represent a string of text, called the variable’s value. These values are substituted by explici Read More
posted @ 2018-09-12 20:20 suonikeyinsu Views(1002) Comments(0) Diggs(0) Edit
伪目标 1. 伪目标的语法: 在书写伪目标时,首先需要声明伪目标,然后再定义伪目标规则. 1.1 声明伪目标: 1.2 定义伪目标规则: 2. 伪目标的作用: 2.1 避免目标名与文件名冲突 也即,如果指定了伪目标,那么伪目标一定会被执行。 2.2 提高执行效率 当一个目标被声明为 伪目标后,mak Read More
posted @ 2018-09-12 20:17 suonikeyinsu Views(559) Comments(0) Diggs(0) Edit
t分布,随着自由度的增加,而逐渐接近于正态分布 从上图可以看出,当df=120时,t曲线几乎与正态分布曲线重合。 Read More
posted @ 2018-08-17 23:15 suonikeyinsu Views(376) Comments(0) Diggs(0) Edit
T distribution 定义 在概率论和统计学中,学生t 分布(t distribution),可简称为t分布,用于根据 小样本 来估计 呈正态分布且方差未知的总体的均值。如果总体方差已知(例如在样本数量足够多时),则应该用正态分布来估计总体均值。 In probability and sta Read More
posted @ 2018-08-17 15:48 suonikeyinsu Views(2899) Comments(0) Diggs(0) Edit
定义引入 以之前的200,000苹果的重量为例,200,000苹果(或者更多)的重量都统计出来,不太现实。但我们可以先随机抽取100个苹果(作为一个样本),统计这100个苹果的平均重量,记为$\overline X_1$。如果只是把$\overline X_1$作为总体的平均值,肯定是不准确的,因为 Read More
posted @ 2018-08-15 16:49 suonikeyinsu Views(1235) Comments(0) Diggs(0) Edit
matplotlib 添加注释的方式 matplotlib.pyplot.annotate Annotate the point xy with text s s : str The text of the annotation xy : iterable Length 2 sequence spe Read More
posted @ 2018-08-14 11:27 suonikeyinsu Views(6131) Comments(0) Diggs(0) Edit
上一页 1 2 3 4 5 6 7 8 ··· 23 下一页