anonymity wrote:
When I use the print() function on matrices, I get representatives for the entries whenever the output width is too long. For example, if I print a 1x3 matrix, I might get "_[1,1],_[1,2],_[1,3]" instead of the actual polynomial entries. Is there a way to turn off this behavior?
There are two methods:
If the name of the matrix is M just type M;
Then you get all entries in full length but as a list and not in matrix form.
You may use pmat(M,[n]);
pmat() is a procedure from inout.lib which shows M in matrix form and
which is more flexible than print().
[quote="anonymity"]When I use the print() function on matrices, I get representatives for the entries whenever the output width is too long. For example, if I print a 1x3 matrix, I might get "_[1,1],_[1,2],_[1,3]" instead of the actual polynomial entries. Is there a way to turn off this behavior?[/quote]
There are two methods:
If the name of the matrix is M just type M;
Then you get all entries in full length but as a list and not in matrix form.
You may use pmat(M,[n]);
pmat() is a procedure from inout.lib which shows M in matrix form and
which is more flexible than print().