27#include "neml2/tensors/VecBase.h"
28#include "neml2/tensors/Transformable.h"
Second order tensor without symmetry.
Definition R2.h:42
Rotation stored as modified Rodrigues parameters.
Definition Rot.h:49
The symmetric second order tensor.
Definition SR2.h:46
Scalar.
Definition Scalar.h:38
Base class 3-vector.
Definition VecBase.h:44
3-vector.
Definition Vec.h:43
R2 outer(const Vec &v) const
outer product
Definition Vec.cxx:61
Vec cross(const Vec &v) const
cross product
Definition Vec.cxx:55
SR2 self_outer() const
self outer product
Definition Vec.cxx:67
Vec(const Rot &r)
Definition Vec.cxx:37
Vec transform(const R2 &op) const override
apply a transformation operator
Definition Vec.cxx:73
static R2 identity_map(const TensorOptions &options=default_tensor_options())
The derivative of a Vec with respect to itself.
Definition Vec.cxx:43
Scalar dot(const Vec &v) const
dot product
Definition Vec.cxx:49
Definition DiagnosticsInterface.cxx:30
TensorOptions default_tensor_options()
Default floating point tensor options.
Definition defaults.cxx:42
c10::TensorOptions TensorOptions
Definition types.h:60