27#include "neml2/tensors/PrimitiveTensor.h"
The wrapper (decorator) for cross-referencing unresolved values at parse time.
Definition CrossRef.h:54
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
PrimitiveTensor inherits from TensorBase and additionally templates on the base shape.
Definition PrimitiveTensor.h:38
PrimitiveTensor()=default
Default constructor.
3-vector.
Definition Vec.h:42
Definition CrossRef.cxx:31
torch::TensorOptions & default_integer_tensor_options()
Default integral tensor options.
Definition types.cxx:165
int Integer
Definition types.h:32
torch::TensorOptions & default_tensor_options()
Definition types.cxx:157