On 12/30/10 5:13 PM, Rob Beezer wrote:
On Dec 30, 10:46 am, Jason Grout<jason-s...@creativetrax.com> wrote:
I was thinking of another matrix constructor that is a very thin wrapper
around matrix(). Something like:
def column_matrix(*args, **kwds):
return matrix(*args, **kwds).transpose()
I like it. See http://trac.sagemath.org/sage_trac/ticket/10535
Nice. Here's another. If v is a vector, it would be nice to have:
v.row() -- return a 1-row matrix, same as matrix(v) (i.e., a row vector)
v.column() -- return a 1-column matrix, same as v.transpose() (i.e., a
column vector)
That would take care of your ideological problem with v.transpose(), I
think.
Thanks,
Jason
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org