parent, [entries=True], [coerce_entries=True], [copy=0]) |
get,
hessenberg_form,
nonzero_positions,
set,
submatrix_from_columns,
submatrix_from_rows,
swap_rows
These methods are defined as follows:
ij) |
Like __getitem__ but with no type or bounds checking. For (i,j) access, returns 0 if access is out of bounds.
) |
Return the Hessenberg form of this matrix.
) |
Returns the set of pairs (i,j) such that self[i,j] != 0.
ij, x) |
Like __setitem__ but with no type or bounds checking. Only works for single entries, not whole rows.
columns) |
Return the submatrix of self of columns col[i] for i in the list of columns.
rows) |
Return the submatrix of self of rows row[i] for i in the list of rows.
r1, r2) |
Swap rows r1 and r2 of self.
Instances of class Matrix_generic_sparse also have the following special methods:
ij) |
USAGE: A[i, j] - the i,j of A, and A[i] - the i-th row of A.
ij, value) |
USAGE: A[i, j] = value - set the (i,j) entry of A A[i] = value - set the ith row of A
See About this document... for information on suggesting changes.