>
|
with(plots):
with(linalg):
A:= hilbert(8): B:= toeplitz([1,2,3,4,-4,-3,-2,-1]):
matrixplot(A);
matrixplot(A &* B);
matrixplot(A+B,heights=histogram,axes=boxed);
matrixplot(A+B,heights=histogram,axes=frame,gap=0.25,style=patch);
F := (x,y) -> sin(x*y):
matrixplot(A+B,heights=histogram,axes=frame,gap=0.25,style=patch,color=F);
with(LinearAlgebra):
L:=HilbertMatrix(4,5);
matrixplot(L);
|