摘要:
001、 m * n的矩阵; m行 n列的矩阵。 n * x的矩阵; n行, 列的矩阵。 左侧矩阵的列数等于右侧矩阵的行数时才有意义。 成绩结果:m行,x列,结果为左侧矩阵的行数,右侧矩阵的列数。 阅读全文
posted @ 2024-10-27 11:07
小鲨鱼2018
阅读(25)
评论(0)
推荐(0)
摘要:
001、 [root@PC1 test]# cat -A a ## 测试文本 1 2$ 3 4$ 5 6$ 7 8$ [root@PC1 test]# awk '{print "$1="$1; getline; print "$2="$2}' a ## getline 会读入下一行,并对下一行按照a 阅读全文
posted @ 2024-10-27 02:08
小鲨鱼2018
阅读(37)
评论(0)
推荐(0)
摘要:
声明是不赋值; 初始化是给数组元素赋值。 001、 [root@PC1 test]# ls test.c [root@PC1 test]# cat test.c ## 测试c程序 #include <stdio.h> int main(void) { int ay[3]; // 声明,不赋值 int 阅读全文
posted @ 2024-10-27 01:43
小鲨鱼2018
阅读(44)
评论(0)
推荐(0)
摘要:
Animal domestication in the eraof ancient genomics 阅读全文
posted @ 2024-10-27 01:26
小鲨鱼2018
阅读(12)
评论(0)
推荐(0)
摘要:
001、 [root@PC1 test]# ls a.txt [root@PC1 test]# cat a.txt ## 测试文本 1 01 02 03 04 2 05 06 07 08 3 09 10 11 12 4 13 14 15 16 5 17 18 19 20 6 21 22 23 24 阅读全文
posted @ 2024-10-27 00:48
小鲨鱼2018
阅读(26)
评论(0)
推荐(0)
摘要:
xxxx 阅读全文
posted @ 2024-10-27 00:48
小鲨鱼2018
阅读(21)
评论(0)
推荐(0)
摘要:
001、grep 中 -h表示只显示匹配的内容,而不显示匹配的文件 [root@PC1 test]# ls a.txt b.txt [root@PC1 test]# grep "2" * ## 正常情况下有多个文件匹配到内容的时候,会现实匹配的文件名 a.txt:01 02 03 04 a.txt: 阅读全文
posted @ 2024-10-27 00:47
小鲨鱼2018
阅读(118)
评论(0)
推荐(0)
摘要:
01、 [root@PC1 test]# ls test.c [root@PC1 test]# cat test.c ## 测试c程序 #include <stdio.h> int main(void) { int ay[4][3] = {{2,3,8},{1,4,2},{8,7,3},{6,2,3 阅读全文
posted @ 2024-10-27 00:47
小鲨鱼2018
阅读(44)
评论(0)
推荐(0)
摘要:
001、数组的声明 01、数组的声明包括数组元素的类型,数组元素的类型只能是一种。 02、数组的名称;比如 array1 03、数组的大小(长度) [root@PC1 test]# ls test.c [root@PC1 test]# cat test.c ## 测试c程序 #include <st 阅读全文
posted @ 2024-10-27 00:46
小鲨鱼2018
阅读(245)
评论(0)
推荐(0)