Opened 11 years ago
Closed 3 years ago
#8277 closed defect (duplicate)
Using matrix() to convert between sparse and dense.
Reported by: | hivert | Owned by: | hivert |
---|---|---|---|
Priority: | major | Milestone: | sage-8.2 |
Component: | linear algebra | Keywords: | sparse matrix conversion |
Cc: | Merged in: | ||
Authors: | Reviewers: | ||
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description
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'>
Change History (6)
comment:1 Changed 11 years ago by
- Component changed from algebra to linear algebra
comment:2 Changed 8 years ago by
- Milestone changed from sage-5.11 to sage-5.12
comment:3 Changed 7 years ago by
- Milestone changed from sage-6.1 to sage-6.2
comment:4 Changed 7 years ago by
- Milestone changed from sage-6.2 to sage-6.3
comment:5 Changed 7 years ago by
- Milestone changed from sage-6.3 to sage-6.4
comment:6 Changed 3 years ago by
- Milestone changed from sage-6.4 to sage-8.2
- Resolution set to duplicate
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
Fixed in #24742.