块矩阵

pyomo.contrib.pynumero.sparse.block_matrix 模块包含了一些方法,这些方法扩展了 scipy 中的线性代数操作,适用于具有固有块结构的结构化问题。此接口考虑以下形式的矩阵:

m = [[m11, m12],[m21, m22], ..]

其中 m_{i,j} 是稀疏矩阵

目录

Classes

BlockMatrix(nbrows, nbcols)

结构化矩阵接口

异常

NotFullyDefinedBlockMatrixError

Functions

assert_block_structure(mat)