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.
Represention of a crystal direction or plane a Miller Index.
Definition MillerIndex.h:38
Vec to_vec(const torch::TensorOptions &options=default_tensor_options()) const
Convert back to a (real) Vec.
Definition MillerIndex.cxx:48
static MillerIndex fill(Integer a, Integer b, Integer c, const torch::TensorOptions &options=default_integer_tensor_options())
Most likely construction method – make from three ints.
Definition MillerIndex.cxx:32
Vec to_normalized_vec(const torch::TensorOptions &options=default_tensor_options()) const
Convert back to a normalized real Vec.
Definition MillerIndex.cxx:54
MillerIndex reduce() const
Reduce to the greatest common demoninator.
Definition MillerIndex.cxx:38
The (logical) vector.
Definition Vec.h:42
Definition CrossRef.cxx:32
const torch::TensorOptions default_tensor_options()
Definition types.cxx:30
const torch::TensorOptions default_integer_tensor_options()
We similarly want to have a default integer scalar type for some types of tensors.
Definition types.cxx:42
int Integer
Definition types.h:34