louie
unread,Sep 27, 2009, 8:55:36 AM9/27/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sage-support
Hello, my platform is:
- W. Vista 64
- Firefox 3.0.10
- Sage Version 4.1.1 (VMWare)
Last night I tried this Matlab exercise in the notebook (without
Typeset activated):
x,y,z,a,b,c=var('x,y,z,a,b,c')
A=matrix(SR,[[a,b,1],[0,1,c],[x,0,0]]);A
[a b 1]
[0 1 c]
[x 0 0]
type(A)
<type 'sage.matrix.matrix_symbolic_dense.Matrix_symbolic_dense'>
So far, so good, but with Typeset activated:
type(A)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/notebook/sage_notebook/worksheets/admin/3/code/12.py",
line 6, in <module>
type(A)
File "", line 1, in <module>
File "/usr/local/sage/local/lib/python2.6/site-packages/sage/misc/
latex.py", line 1768, in pretty_print
view(object)
File "/usr/local/sage/local/lib/python2.6/site-packages/sage/misc/
latex.py", line 1512, in view
s = _latex_file_(objects, title=title, sep=sep, tiny=tiny,
debug=debug, **latex_options)
File "/usr/local/sage/local/lib/python2.6/site-packages/sage/misc/
latex.py", line 1180, in _latex_file_
L = latex(x)
File "/usr/local/sage/local/lib/python2.6/site-packages/sage/misc/
latex.py", line 580, in __call__
return LatexExpr(x._latex_())
TypeError: descriptor '_latex_' of 'sage.matrix.matrix0.Matrix' object
needs an argument
Is this behaviour normal?
--Luis V.--