Skip to content

LLSparseMatrix_implementation

Nikolaj edited this page Jan 20, 2016 · 20 revisions

LLSparseMatrix operations

Methods are listed in the same order as in the source code.

Operation State Tested Comments
is_symmetric 🔴 Property
__dealloc__ 🔴 Needs to be checked
_realloc 🔴 Needs to be checked
_realloc_expand 🔴 Needs to be checked
compress 🔴 In place and free physical memory
copy 🔴 Deep copy
generalize 🔴 In place
delete_rows 🔴 Inefficient
delete_cols 🔴 Very inefficient
clear_submatrix 🔴 Wipe out zeros
memory_real_in_bytes 🔴 -
create_transpose 🔴 Real matrix.
create_conjugate_transpose 🔴 Real matrix. Only for complex matrices.
create_conjugate 🔴 Real matrix. Only for complex matrices.
is_sorted 🔴 -
are_column_indices_sorted 🔴 -
to_ll 🔴 Add possibility to change itype and dtype?
tril -
triu -
hstack 🔴 🔴 -
vstack 🔴 🔴 -
memory_real 🔴 Internal memory used for arrays.
is_sorted 🔴 Internal method.
to_csr 🔴 -
to_csc 🔴 -
to_ndarray 🔴 -
assign 🔴 Works with views.
put, safe_put 🔴 Internal methods.
at, safe_at 🔴 Internal methods.
put_triplet 🔴
take_triplet 🔴
put_diagonal 🔴
keys 🔴
values 🔴
items 🔴
find 🔴
diag 🔴
diags 🔴
shift 🔴
update_add_at 🔴
matvec
matvec_transp
matvec_htransp Only for complex matrices.
matvec_conj Only for complex matrices.
matdot 🔴
matdot_transp 🔴
matdot_transp_self 🔴
scale 🔴
col_scale 🔴
row_scale 🔴
norm 🔴
print_to 🔴 Need complete rewriting.

Clone this wiki locally