27#include "neml2/tensors/PrimitiveTensor.h"
The wrapper (decorator) for cross-referencing unresolved values at parse time.
Definition CrossRef.h:56
PrimitiveTensor inherits from TensorBase and additionally templates on the base shape.
Definition PrimitiveTensor.h:38
PrimitiveTensor()=default
Default constructor.
A batched quaternion.
Definition Quaternion.h:44
static Quaternion fill(const Scalar &s, const Scalar &q1, const Scalar &q2, const Scalar &q3)
fill with four scalars
Definition Quaternion.cxx:45
Scalar operator()(Size i) const
Accessor.
Definition Quaternion.cxx:51
R2 to_R2() const
Convert to R2.
Definition Quaternion.cxx:57
A basic R2.
Definition R2.h:42
The (logical) scalar.
Definition Scalar.h:38
Definition CrossRef.cxx:30
torch::TensorOptions & default_tensor_options()
Definition types.cxx:30
double Real
Definition types.h:31
int64_t Size
Definition types.h:33