__init__(nbrows, nbcols, rank_ownership, ...)
|
|
block_shapes()
|
Returns list with shapes of blocks in this BlockMatrix |
broadcast_block_sizes()
|
Send sizes of all blocks to all processors. |
col_block_sizes([copy])
|
Returns array with col-block sizes |
coo_data()
|
|
copy()
|
Makes a copy of this MPIBlockMatrix |
copy_structure()
|
Makes a copy of the structure of this MPIBlockMatrix. |
diagonal([k])
|
|
dot(other)
|
Ordinary dot product |
fromBlockMatrix(block_matrix, ...[, ...])
|
Creates a parallel MPIBlockMatrix from blockmatrix |
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 MPIBlockVector of column j |
getrow(i)
|
Returns MPIBlockVector 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[, this_process_only])
|
|
is_empty_block(idx, jdx[, this_process_only])
|
Indicates if a block is empty |
is_row_size_defined(row[, this_process_only])
|
|
mean([axis, dtype, out])
|
|
nonzero()
|
|
reset_bcol(jdx)
|
Resets all blocks in selected column to None (0 nonzero entries) |
reset_brow(idx)
|
Resets all blocks in selected row to None (0 nonzero entries) |
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])
|
|
to_local_array()
|
This method is only for testing/debugging |
toarray()
|
Returns a dense ndarray representation of this matrix. |
tobsr([blocksize, copy])
|
|
tocoo()
|
Converts this matrix to coo_matrix format. |
tocsc()
|
Converts this matrix to csc format. |
tocsr()
|
Converts this matrix to csr format. |
todia([copy])
|
|
tolil([copy])
|
|
tostring([order])
|
|
transpose([axes, copy])
|
Reverses the dimensions of the block matrix. |