Public Types | Public Member Functions | Public Attributes | List of all members
TensorContainer< Scalar, Rank > Struct Template Reference

Public Types

typedef Eigen::Matrix< Scalar, Rank, 1 > Dimensions
 
typedef Eigen::Tensor< Scalar, Rank > Tensor
 
typedef Eigen::TensorRef< TensorTensorRef
 

Public Member Functions

Tensor get_copy () const
 
TensorRef get_ref ()
 
 TensorContainer (const Dimensions &dims)
 

Public Attributes

Tensor m_tensor
 

Detailed Description

template<typename Scalar, int Rank>
struct TensorContainer< Scalar, Rank >

Definition at line 122 of file tensor.cpp.

Member Typedef Documentation

◆ Dimensions

template<typename Scalar , int Rank>
typedef Eigen::Matrix<Scalar, Rank, 1> TensorContainer< Scalar, Rank >::Dimensions

Definition at line 125 of file tensor.cpp.

◆ Tensor

template<typename Scalar , int Rank>
typedef Eigen::Tensor<Scalar, Rank> TensorContainer< Scalar, Rank >::Tensor

Definition at line 123 of file tensor.cpp.

◆ TensorRef

template<typename Scalar , int Rank>
typedef Eigen::TensorRef<Tensor> TensorContainer< Scalar, Rank >::TensorRef

Definition at line 124 of file tensor.cpp.

Constructor & Destructor Documentation

◆ TensorContainer()

template<typename Scalar , int Rank>
TensorContainer< Scalar, Rank >::TensorContainer ( const Dimensions dims)
inline

Definition at line 128 of file tensor.cpp.

Member Function Documentation

◆ get_copy()

template<typename Scalar , int Rank>
Tensor TensorContainer< Scalar, Rank >::get_copy ( ) const
inline

Definition at line 136 of file tensor.cpp.

◆ get_ref()

template<typename Scalar , int Rank>
TensorRef TensorContainer< Scalar, Rank >::get_ref ( )
inline

Definition at line 137 of file tensor.cpp.

Member Data Documentation

◆ m_tensor

template<typename Scalar , int Rank>
Tensor TensorContainer< Scalar, Rank >::m_tensor

Definition at line 127 of file tensor.cpp.


The documentation for this struct was generated from the following file:


eigenpy
Author(s): Justin Carpentier, Nicolas Mansard
autogenerated on Fri Jun 2 2023 02:10:27