Public Types | Static Public Member Functions | List of all members
tensor_interface< real > Class Template Reference

#include <tensor_interface.hh>

Public Types

typedef Eigen::Tensor< real, 2 > gene_matrix
 
typedef Eigen::Tensor< real, 1 > gene_vector
 
typedef Eigen::Tensor< real, 2 >::Index Index
 
typedef real real_type
 
typedef std::vector< stl_vectorstl_matrix
 
typedef std::vector< realstl_vector
 

Static Public Member Functions

static void axpby (real a, const gene_vector &X, real b, gene_vector &Y, int)
 
static void axpy (real coef, const gene_vector &X, gene_vector &Y, int)
 
static EIGEN_DONT_INLINE void copy_matrix (const gene_matrix &source, gene_matrix &cible, int)
 
static EIGEN_DONT_INLINE void copy_vector (const gene_vector &source, gene_vector &cible, int)
 
static void free_matrix (gene_matrix &, int)
 
static void free_vector (gene_vector &)
 
static BTL_DONT_INLINE void matrix_from_stl (gene_matrix &A, stl_matrix &A_stl)
 
static void matrix_matrix_product (const gene_matrix &A, const gene_matrix &B, gene_matrix &X, int)
 
static BTL_DONT_INLINE void matrix_to_stl (gene_matrix &A, stl_matrix &A_stl)
 
static void matrix_vector_product (const gene_matrix &A, const gene_vector &B, gene_vector &X, int)
 
static std::string name (void)
 
static BTL_DONT_INLINE void vector_from_stl (gene_vector &B, stl_vector &B_stl)
 
static BTL_DONT_INLINE void vector_to_stl (gene_vector &B, stl_vector &B_stl)
 

Detailed Description

template<class real>
class tensor_interface< real >

Definition at line 19 of file tensor_interface.hh.

Member Typedef Documentation

template<class real >
typedef Eigen::Tensor<real,2> tensor_interface< real >::gene_matrix

Definition at line 28 of file tensor_interface.hh.

template<class real >
typedef Eigen::Tensor<real,1> tensor_interface< real >::gene_vector

Definition at line 29 of file tensor_interface.hh.

template<class real >
typedef Eigen::Tensor<real,2>::Index tensor_interface< real >::Index

Definition at line 23 of file tensor_interface.hh.

template<class real >
typedef real tensor_interface< real >::real_type

Definition at line 22 of file tensor_interface.hh.

template<class real >
typedef std::vector<stl_vector> tensor_interface< real >::stl_matrix

Definition at line 26 of file tensor_interface.hh.

template<class real >
typedef std::vector<real> tensor_interface< real >::stl_vector

Definition at line 25 of file tensor_interface.hh.

Member Function Documentation

template<class real >
static void tensor_interface< real >::axpby ( real  a,
const gene_vector X,
real  b,
gene_vector Y,
int   
)
inlinestatic

Definition at line 92 of file tensor_interface.hh.

template<class real >
static void tensor_interface< real >::axpy ( real  coef,
const gene_vector X,
gene_vector Y,
int   
)
inlinestatic

Definition at line 88 of file tensor_interface.hh.

template<class real >
static EIGEN_DONT_INLINE void tensor_interface< real >::copy_matrix ( const gene_matrix source,
gene_matrix cible,
int   
)
inlinestatic

Definition at line 96 of file tensor_interface.hh.

template<class real >
static EIGEN_DONT_INLINE void tensor_interface< real >::copy_vector ( const gene_vector source,
gene_vector cible,
int   
)
inlinestatic

Definition at line 100 of file tensor_interface.hh.

template<class real >
static void tensor_interface< real >::free_matrix ( gene_matrix ,
int   
)
inlinestatic

Definition at line 37 of file tensor_interface.hh.

template<class real >
static void tensor_interface< real >::free_vector ( gene_vector )
inlinestatic

Definition at line 39 of file tensor_interface.hh.

template<class real >
static BTL_DONT_INLINE void tensor_interface< real >::matrix_from_stl ( gene_matrix A,
stl_matrix A_stl 
)
inlinestatic

Definition at line 41 of file tensor_interface.hh.

template<class real >
static void tensor_interface< real >::matrix_matrix_product ( const gene_matrix A,
const gene_matrix B,
gene_matrix X,
int   
)
inlinestatic

Definition at line 76 of file tensor_interface.hh.

template<class real >
static BTL_DONT_INLINE void tensor_interface< real >::matrix_to_stl ( gene_matrix A,
stl_matrix A_stl 
)
inlinestatic

Definition at line 65 of file tensor_interface.hh.

template<class real >
static void tensor_interface< real >::matrix_vector_product ( const gene_matrix A,
const gene_vector B,
gene_vector X,
int   
)
inlinestatic

Definition at line 82 of file tensor_interface.hh.

template<class real >
static std::string tensor_interface< real >::name ( void  )
inlinestatic

Definition at line 32 of file tensor_interface.hh.

template<class real >
static BTL_DONT_INLINE void tensor_interface< real >::vector_from_stl ( gene_vector B,
stl_vector B_stl 
)
inlinestatic

Definition at line 51 of file tensor_interface.hh.

template<class real >
static BTL_DONT_INLINE void tensor_interface< real >::vector_to_stl ( gene_vector B,
stl_vector B_stl 
)
inlinestatic

Definition at line 59 of file tensor_interface.hh.


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


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:51:54