__init__ (nbrows, nbcols)
|
|
block_shapes ()
|
Returns list with shapes of blocks in this BlockMatrix |
col_block_sizes ([copy])
|
Returns array with col-block sizes |
coo_data ()
|
Returns data array of matrix. |
copy ([deep])
|
Makes a copy of this BlockMatrix |
copy_structure ()
|
Makes a copy of the structure of this BlockMatrix. |
copyfrom (other[, deep])
|
Copies entries of other matrix into this matrix. |
copyto (other[, deep])
|
Copies entries of this BlockMatrix into other. |
diagonal ([k])
|
|
dot (other)
|
Ordinary dot product |
get_block (row, col)
|
|
get_block_column_index (index)
|
Returns block-column idx from matrix column index. |
get_block_mask ([copy])
|
|
get_block_row_index (index)
|
Returns block-row idx from matrix row index. |
get_col_size (col)
|
|
get_row_size (row)
|
|
getcol (j)
|
Returns vector of column j |
getrow (i)
|
Returns vector of column i |
has_undefined_col_sizes ()
|
Indicates if the matrix has block-columns with undefined dimensions |
has_undefined_row_sizes ()
|
Indicates if the matrix has block-rows with undefined dimensions |
is_col_size_defined (col)
|
|
is_empty_block (idx, jdx)
|
Indicates if a block is None |
is_row_size_defined (row)
|
|
mean ([axis, dtype, out])
|
|
nonzero ()
|
|
reset_bcol (jdx)
|
Resets all blocks in selected block-column to None |
reset_brow (idx)
|
Resets all blocks in selected block-row to None |
row_block_sizes ([copy])
|
Returns array with row-block sizes |
set_block (row, col, value)
|
|
set_col_size (col, size)
|
|
set_row_size (row, size)
|
|
setdiag (values[, k])
|
|
sum ([axis, dtype, out])
|
|
toarray ([order, out])
|
Returns a numpy.ndarray representation of this matrix. |
tobsr ([blocksize, copy])
|
|
tocoo ([copy])
|
Converts this matrix to COOrdinate format. |
tocsc ([copy])
|
Converts this matrix to Compressed Sparse Column format. |
tocsr ([copy])
|
Converts this matrix to Compressed Sparse Row format. |
todia ([copy])
|
|
tolil ([copy])
|
|
tostring ([order])
|
|
transpose ([axes, copy])
|
Creates a transpose copy of the BlockMatrix. |