|
NEML2 2.1.0
|
Sparse representation of a vector as a list of tensors and their layout
Public Member Functions | |
| None | __init__ (self) |
| None | __init__ (self, AxisLayout layout) |
| None | __init__ (self, AxisLayout layout, list[neml2.tensors.Tensor] tensors) |
| AssembledVector | assemble (self) |
| SparseVector | group (self, int i) |
| AxisLayout | layout (self) |
| None | layout (self, AxisLayout arg0) |
| list[neml2.tensors.Tensor] | tensors (self) |
| None | tensors (self, list[neml2.tensors.Tensor] arg0) |
| None __init__ | ( | self | ) |
| None __init__ | ( | self, | |
| AxisLayout | layout ) |
| None __init__ | ( | self, | |
| AxisLayout | layout, | ||
| list[neml2.tensors.Tensor] | tensors ) |
| AssembledVector assemble | ( | self | ) |
Assemble the tensors into a dense AssembledVector
| SparseVector group | ( | self, | |
| int | i ) |
Contiguous view of variable group i
| AxisLayout layout | ( | self | ) |
Layout of the tensors
| None layout | ( | self, | |
| AxisLayout | arg0 ) |
| list[neml2.tensors.Tensor] tensors | ( | self | ) |
List of tensors, one per variable
| None tensors | ( | self, | |
| list[neml2.tensors.Tensor] | arg0 ) |