|
NEML2 2.1.0
|
Sparse representation of a matrix as a 2D list of tensors and their layout
Public Member Functions | |
| None | __init__ (self) |
| None | __init__ (self, AxisLayout row_layout, AxisLayout col_layout) |
| None | __init__ (self, AxisLayout row_layout, AxisLayout col_layout, list[list[neml2.tensors.Tensor]] tensors) |
| AssembledMatrix | assemble (self) |
| SparseMatrix | group (self, int i, int j) |
| AxisLayout | col_layout (self) |
| None | col_layout (self, AxisLayout arg0) |
| AxisLayout | row_layout (self) |
| None | row_layout (self, AxisLayout arg0) |
| list[list[neml2.tensors.Tensor]] | tensors (self) |
| None | tensors (self, list[list[neml2.tensors.Tensor]] arg0) |
| None __init__ | ( | self | ) |
| None __init__ | ( | self, | |
| AxisLayout | row_layout, | ||
| AxisLayout | col_layout ) |
| None __init__ | ( | self, | |
| AxisLayout | row_layout, | ||
| AxisLayout | col_layout, | ||
| list[list[neml2.tensors.Tensor]] | tensors ) |
| AssembledMatrix assemble | ( | self | ) |
Assemble the tensors into a dense AssembledMatrix
| AxisLayout col_layout | ( | self | ) |
Column layout of the tensors
| None col_layout | ( | self, | |
| AxisLayout | arg0 ) |
| SparseMatrix group | ( | self, | |
| int | i, | ||
| int | j ) |
Semi-contiguous view of block (i, j)
| AxisLayout row_layout | ( | self | ) |
Row layout of the tensors
| None row_layout | ( | self, | |
| AxisLayout | arg0 ) |
| list[list[neml2.tensors.Tensor]] tensors | ( | self | ) |
2D list of tensors, indexed by [row variable][col variable]
| None tensors | ( | self, | |
| list[list[neml2.tensors.Tensor]] | arg0 ) |