跳转到内容

Maple/矩阵与矢量

维基教科书,自由的教学读本

矢量

[编辑]

v1:=Vector([1,2,3,4]);

Vector(4, {(1) = 1, (2) = 2, (3) = 3, (4) = 4});

v2:=Vector([5,6,7,8]);

v1+v2;

10v1+10v2;

v3:=v2^*

矩阵

[编辑]

A5:=Matrix(5,5, (i,j)-> j+(i-1)*5);

A6=A5^*

v6:=Vector([1,2,3,4,5])

MatrixVectorMultiply(A5,v6);


MatrixScalarMultiply(A5, A6);