要用maple求一个矩阵的行列式,所用的代码如下:
with(LinearAlgebra)
m := matrix(3, 3, [1, 2, 3, o, p, q, x, y, z]);
n := Determinant(m);
会报错:Error, (in LinearAlgebra:-Determinant) invalid input: LinearAlgebra:-Determinant expects its 1st argument, A, to be of type Matrix(square) but received m。
求教大大们问题在哪啊?