GetMatx() ==
free B1, B2, B3
T : Matrix F
T := matrix [B1, B2, B3]
(output("T:", T); output(""))
(output("Rank:", rank(T)); output(""))
Compile-time error:
COMMON-LISP:T names a defined constant, and cannot be used in LET.
> That seems a little strange....
Indeed.
Obvooiously, the interpreter does not properly choos a new name for T.
It cannot map it directly to T in lisp, since in Lisp it simply
represents the true value and not a variable.
That's certainly a bug, but why do you make your input so complicated?
The following also works (even with T as variable).
F := PF 5
T: Matrix F := matrix([_
[1, 2, 3],_
[2, 3, 1],_
[3, 1, 2]]);
output("T:", T); output(""); output("Rank:", rank(T))
Raf
--
You received this message because you are subscribed to the Google Groups "FriCAS -
computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/fricas-devel/494caa28-3a7a-4319-b04c-d104bd2555d5%40hemmecke.org.