27#include "neml2/tensors/PrimitiveTensor.h"
The wrapper (decorator) for cross-referencing unresolved values at parse time.
Definition CrossRef.h:54
PrimitiveTensor inherits from TensorBase and additionally templates on the base shape.
Definition PrimitiveTensor.h:38
PrimitiveTensor()=default
Default constructor.
Second order tensor without symmetry.
Definition R2.h:42
Third order tensor without symmetry.
Definition R3.h:41
Scalar operator()(Size i, Size j, Size k) const
Accessor.
Definition R3.cxx:44
R2 contract_k(const Vec &v) const
R3,Vector->R2 product ijk,k->ij.
Definition R3.cxx:50
static R3 levi_civita(const torch::TensorOptions &options=default_tensor_options())
Alternating symbol.
Definition R3.cxx:34
Scalar.
Definition Scalar.h:38
3-vector.
Definition Vec.h:42
Definition CrossRef.cxx:31
torch::TensorOptions & default_tensor_options()
Definition types.cxx:157
int64_t Size
Definition types.h:33