27#include "neml2/tensors/FixedDimTensor.h"
The wrapper (decorator) for cross-referencing unresolved values at parse time.
Definition CrossRef.h:52
FixedDimTensor inherits from BatchTensorBase and additionally templates on the base shape.
Definition FixedDimTensor.h:38
FixedDimTensor()=default
Default constructor.
A batched quaternion.
Definition Quaternion.h:44
Scalar operator()(TorchSize i) const
Accessor.
Definition Quaternion.cxx:51
static Quaternion fill(const Scalar &s, const Scalar &q1, const Scalar &q2, const Scalar &q3)
fill with four scalars
Definition Quaternion.cxx:45
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:32
const torch::TensorOptions default_tensor_options()
Definition types.cxx:30
int64_t TorchSize
Definition types.h:35
double Real
Definition types.h:33