#8277: Using matrix() to convert between sparse and dense.
------------------------------+---------------------------------------------
Reporter: hivert | Owner: hivert
Type: defect | Status: new
Priority: major | Milestone: sage-4.3.3
Component: algebra | Keywords: sparse matrix conversion
Author: Florent Hivert | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------------+---------------------------------------------
A call to {{{matrix}}} does not change the sparsity:
{{{
sage: mat = matrix(ZZ, [[1,1],[1,1]], sparse=False)
sage: type(mat)
<type 'sage.matrix.matrix_integer_dense.Matrix_integer_dense'>
sage: mat2 = matrix(ZZ, mat, sparse=True)
sage: type(mat2)
<type 'sage.matrix.matrix_integer_dense.Matrix_integer_dense'>
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8277>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.