|
NEML2 2.0.0
|
Helper to assemble a vector of tensors into a single tensor and also to split a tensor into a map of tensors. More...
Helper to assemble a vector of tensors into a single tensor and also to split a tensor into a map of tensors.
#include <Assembler.h>
Public Member Functions | |
| VectorAssembler (const LabeledAxis &axis) | |
| Tensor | assemble_by_variable (const ValueMap &) const |
| Assemble a vector of vectors (by variables) | |
| ValueMap | split_by_variable (const Tensor &) const |
| Split the vector (by variables) | |
| ValueMap | split_by_subaxis (const Tensor &) const |
| Split the vector (by subaxes) | |
|
inline |
Assemble a vector of vectors (by variables)
| std::map< SubaxisName, Tensor > split_by_subaxis | ( | const Tensor & | tensor | ) | const |
Split the vector (by subaxes)