“《超越学科的认知基础》2015张世超学习报告第六周”版本间的差异
来自iCenter Wiki
(→学习报告) |
(→Mathematica 指令表) |
||
第21行: | 第21行: | ||
|esc-ee-esc | |esc-ee-esc | ||
|- | |- | ||
+ | | | ||
+ | | | ||
+ | |- | ||
+ | |Mutiply the matrix A by the Vector v. | ||
+ | |A.v %//MatrixForm | ||
+ | |- | ||
+ | |Determinant | ||
+ | |Det[A] | ||
+ | |- | ||
+ | |Inverse | ||
+ | |Inverse[A]//MatrixForm | ||
+ | |- | ||
+ | |MatrixPower | ||
+ | |[A,2]//MatrixForm or A²//MatrixForm | ||
+ | |- | ||
+ | |Transpose | ||
+ | |Transpose[A]//MatrixForm | ||
+ | | | ||
+ | |Extract | ||
+ | |A[[1]]//MatrixForm | ||
+ | | | ||
+ | |Make a 10×10 matrix and automatically populate if with a formula. | ||
+ | |M=Table[i*j+sin[i+j},{i,1,10},{j,1,10}];M//MatrixForm | ||
+ | | | ||
+ | |data={1,2,3,4,5} | ||
+ | |av2[v_]:=Total[v]/Length[v];av2[data] | ||
+ | | | ||
+ | |cospan="8"|Function | ||
+ | |Define a function |
2015年10月27日 (二) 01:55的版本
关键词
Mathematica[1]
学习报告
Mathematica 指令表
Mathematica 指令表 | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
操作 | 指令 | ||||||||||||
enter i | type esc-ii-esc | ||||||||||||
enter square root | control -2 | ||||||||||||
enter "e" | esc-ee-esc | ||||||||||||
Mutiply the matrix A by the Vector v. | A.v %//MatrixForm | ||||||||||||
Determinant | Det[A] | ||||||||||||
Inverse | Inverse[A]//MatrixForm | ||||||||||||
MatrixPower | [A,2]//MatrixForm or A²//MatrixForm | ||||||||||||
Transpose | Transpose[A]//MatrixForm | Extract | A1//MatrixForm | Make a 10×10 matrix and automatically populate if with a formula. | M=Table[i*j+sin[i+j},{i,1,10},{j,1,10}];M//MatrixForm | data={1,2,3,4,5} | av2[v_]:=Total[v]/Length[v];av2[data] | Function | Define a function |