Classes | Namespaces | Functions
user_type.cpp File Reference
#include <iostream>
#include <sstream>
#include "eigenpy/eigenpy.hpp"
#include "eigenpy/ufunc.hpp"
#include "eigenpy/user-type.hpp"
Include dependency graph for user_type.cpp:

Go to the source code of this file.

Classes

struct  CustomType< Scalar >
 
struct  CustomType< Scalar >
 
struct  Eigen::NumTraits< CustomType< Scalar > >
 Eigen::NumTraits<> specialization for casadi::SX. More...
 

Namespaces

 Eigen
 

Functions

 BOOST_PYTHON_MODULE (user_type)
 
template<typename Scalar >
Eigen::Matrix< Scalar, Eigen::Dynamic, Eigen::Dynamic > build_matrix (int rows, int cols)
 
template<typename Scalar >
Eigen::Matrix< CustomType< Scalar >, Eigen::Dynamic, Eigen::Dynamic > create (int rows, int cols)
 
template<typename Scalar >
void expose_custom_type (const std::string &name)
 
template<typename Scalar >
void print (const Eigen::Matrix< CustomType< Scalar >, Eigen::Dynamic, Eigen::Dynamic > &mat)
 

Function Documentation

◆ BOOST_PYTHON_MODULE()

BOOST_PYTHON_MODULE ( user_type  )

Definition at line 176 of file user_type.cpp.

◆ build_matrix()

template<typename Scalar >
Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic> build_matrix ( int  rows,
int  cols 
)

Definition at line 144 of file user_type.cpp.

◆ create()

template<typename Scalar >
Eigen::Matrix<CustomType<Scalar>, Eigen::Dynamic, Eigen::Dynamic> create ( int  rows,
int  cols 
)

Definition at line 130 of file user_type.cpp.

◆ expose_custom_type()

template<typename Scalar >
void expose_custom_type ( const std::string &  name)

Definition at line 151 of file user_type.cpp.

◆ print()

template<typename Scalar >
void print ( const Eigen::Matrix< CustomType< Scalar >, Eigen::Dynamic, Eigen::Dynamic > &  mat)

Definition at line 138 of file user_type.cpp.



eigenpy
Author(s): Justin Carpentier, Nicolas Mansard
autogenerated on Sat Nov 2 2024 02:14:45