Maple matrix显示为原始文本

Maple matrix显示为原始文本,matrix,maple,Matrix,Maple,我对maple有一个非常严重的问题,我可能无法让它显示矩阵。 当我输入像这样的矩阵时,它会输出: Matrix(2, 2, {(1, 1) = 4, (1, 2) = 2, (2, 1) = 2, (2, 2) = 4}, datatype = anything, storage = rectangular, order = Fortran_order, shape = []) 我完全不知道如何让它显示为一个合适的矩阵,有什么想法吗 提前感谢。在构建矩阵之前,您是否在某些配置文件中将pret

我对maple有一个非常严重的问题,我可能无法让它显示矩阵。 当我输入像
这样的矩阵时,它会输出:

Matrix(2, 2, {(1, 1) = 4, (1, 2) = 2, (2, 1) = 2, (2, 2) = 4}, 
datatype = anything, storage = rectangular, order = Fortran_order, shape = [])
我完全不知道如何让它显示为一个合适的矩阵,有什么想法吗


提前感谢。

在构建矩阵之前,您是否在某些配置文件中将prettyprint设置为0?遵守以下规定:

> interface(prettyprint=0);
1
> <<4,2>|<2,4>>;
Matrix(2,2,{(1, 1) = 4, (1, 2) = 2, (2, 1) = 2, (2, 2) = 4},datatype =
anything,storage = rectangular,order = Fortran_order,shape = [])
> interface(prettyprint=1);
                                       0

> <<4,2>|<2,4>>;
                                   [4    2]
                                   [      ]
                                   [2    4]
>接口(prettyprint=0);
1.
> ;
矩阵(2,2,{(1,1)=4,(1,2)=2,(2,1)=2,(2,2)=4},数据类型=
任何东西,存储=矩形,顺序=Fortran\u顺序,形状=[])
>接口(预打印=1);
0
> ;
[4    2]
[      ]
[2    4]
打印矩阵(…)表示的另一种方法是lprint。除非要检查矩阵的表示形式,否则不需要使用lprint:

> lprint(<<4,2>|<2,4>>);
Matrix(2,2,{(1, 1) = 4, (1, 2) = 2, (2, 1) = 2, (2, 2) = 4},datatype =
anything,storage = rectangular,order = Fortran_order,shape = [])
>lprint();
矩阵(2,2,{(1,1)=4,(1,2)=2,(2,1)=2,(2,2)=4},数据类型=
任何东西,存储=矩形,顺序=Fortran\u顺序,形状=[])
希望这有帮助

编辑(2011年11月24日):
我的示例基于命令行Maple。如果您使用的是Maple的GUI版本,最好将prettyprint的默认值设置为3。请参阅“界面”帮助页了解说明。

它帮助很大!非常感谢D