Post a reply
Username:
Note:If not registered, provide any username. For more comfort, register here.
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Smilies
:D :) :( :o :shock: :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen:
Font size:
Font colour
Options:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
Confirmation of post
To prevent automated posts the board requires you to enter a confirmation code. The code is displayed in the image you should see below. If you are visually impaired or cannot otherwise read this code please contact the %sBoard Administrator%s.
Confirmation code:
Enter the code exactly as it appears. All letters are case insensitive, there is no zero.
   

Topic review - Printing matrices
Author Message
  Post subject:  Re: Printing matrices  Reply with quote
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().
Post Posted: Mon Mar 06, 2006 9:59 pm
  Post subject:  Printing matrices  Reply with quote
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?
Post Posted: Sun Mar 05, 2006 9:20 am


It is currently Fri May 13, 2022 11:03 am
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group