Hi!
Is it correct to create create matrix with matrix() function from empty list ?
Experementing with matrix() function, I got interesting results.
Maxima 5.11.0 http://maxima.sourceforge.net
Using Lisp GNU Common Lisp (GCL) GCL 2.6.6 (aka GCL)
..
(%i1) n: matrix();
(%o1) matrix()
(%i2) matrixp(n);
(%o2) true
(%i3) length(n);
(%o3) 0
(%i4) n2: matrix([]);
(%o4) matrix([])
(%i5) matrixp(n2);
(%o5) true
(%i6) length(n2);
(%o6) 1
(%i7)
Can it be a bug ? or I am just doing stupid things :)
Cheers,YP