Template Function navtk::to_tensor_3d
Defined in File factory.hpp
Function Documentation
-
template<class T, IfTensorOfDim<T, 3>* = nullptr>
inline Tensor<3> navtk::to_tensor_3d(const T &m, std::size_t = 1) Converts an object of 3 dimensions to a 3-D tensor.
- Template Parameters
T – An object of 3 dimensions.
IfTensorOfDim<> – Invalidates the template for non-matching types. (Has no effect on the function).
- Parameters
m – Input object containing coefficients.
- Returns
3-D tensor of the container object.