Observe (using sagenb.org)

sage: M = matrix(ZZ,4,4,sparse=True)
sage: M.norm()

Traceback (click to the left of this block for traceback)
...
AttributeError:
'sage.matrix.matrix_generic_sparse.Matrix_generic_sparse' object has
no
attribute 'SVD'

sage: M.norm(1)

Traceback (click to the left of this block for traceback)
...
TypeError: base_ring (=Category of objects) must be a ring

and similarly for any other argument to norm.

When I do

sage: M.base_ring()

Integer Ring


But if I do

sage: M = matrix(ZZ,4,4) # without sparse=True

everything works ok


-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to