Namespaces | Macros | Functions
complex.cpp File Reference
#include "eigenpy/eigenpy.hpp"
Include dependency graph for complex.cpp:

Go to the source code of this file.

Namespaces

 Eigen
 

Macros

#define EIGEN_MAKE_FIXED_TYPEDEFS(Type, TypeSuffix, Size)
 
#define EIGEN_MAKE_TYPEDEFS(Type, TypeSuffix, Size, SizeSuffix)
 
#define EIGEN_MAKE_TYPEDEFS_ALL_SIZES(Type, TypeSuffix)
 

Functions

template<typename Scalar , int Rows, int Cols, int Options>
Eigen::Matrix< std::complex< Scalar >, Rows, Cols, Options > ascomplex (const Eigen::Matrix< Scalar, Rows, Cols, Options > &mat)
 
 BOOST_PYTHON_MODULE (complex)
 
template<typename ComplexMatrix >
Eigen::Matrix< typename ComplexMatrix::RealScalar, ComplexMatrix::RowsAtCompileTime, ComplexMatrix::ColsAtCompileTime, ComplexMatrix::Options > imag (const Eigen::MatrixBase< ComplexMatrix > &complex_mat)
 
template<typename ComplexMatrix >
Eigen::Matrix< typename ComplexMatrix::RealScalar, ComplexMatrix::RowsAtCompileTime, ComplexMatrix::ColsAtCompileTime, ComplexMatrix::Options > real (const Eigen::MatrixBase< ComplexMatrix > &complex_mat)
 

Macro Definition Documentation

◆ EIGEN_MAKE_FIXED_TYPEDEFS

#define EIGEN_MAKE_FIXED_TYPEDEFS (   Type,
  TypeSuffix,
  Size 
)
Value:
\
typedef Matrix<Type, Size, Dynamic> Matrix##Size##X##TypeSuffix; \ \
typedef Matrix<Type, Dynamic, Size> Matrix##X##Size##TypeSuffix;

Definition at line 16 of file complex.cpp.

◆ EIGEN_MAKE_TYPEDEFS

#define EIGEN_MAKE_TYPEDEFS (   Type,
  TypeSuffix,
  Size,
  SizeSuffix 
)
Value:
\
typedef Matrix<Type, Size, Size> Matrix##SizeSuffix##TypeSuffix; \ \
typedef Matrix<Type, Size, 1> Vector##SizeSuffix##TypeSuffix; \ \
typedef Matrix<Type, 1, Size> RowVector##SizeSuffix##TypeSuffix;

Definition at line 8 of file complex.cpp.

◆ EIGEN_MAKE_TYPEDEFS_ALL_SIZES

#define EIGEN_MAKE_TYPEDEFS_ALL_SIZES (   Type,
  TypeSuffix 
)
Value:
EIGEN_MAKE_TYPEDEFS(Type, TypeSuffix, 2, 2) \
EIGEN_MAKE_TYPEDEFS(Type, TypeSuffix, 3, 3) \
EIGEN_MAKE_TYPEDEFS(Type, TypeSuffix, 4, 4) \
EIGEN_MAKE_TYPEDEFS(Type, TypeSuffix, Dynamic, X) \
EIGEN_MAKE_FIXED_TYPEDEFS(Type, TypeSuffix, 2) \
EIGEN_MAKE_FIXED_TYPEDEFS(Type, TypeSuffix, 3) \
EIGEN_MAKE_FIXED_TYPEDEFS(Type, TypeSuffix, 4)
#define EIGEN_MAKE_TYPEDEFS(Type, TypeSuffix, Size, SizeSuffix)
Definition: complex.cpp:8

Definition at line 22 of file complex.cpp.

Function Documentation

◆ ascomplex()

template<typename Scalar , int Rows, int Cols, int Options>
Eigen::Matrix<std::complex<Scalar>, Rows, Cols, Options> ascomplex ( const Eigen::Matrix< Scalar, Rows, Cols, Options > &  mat)

Definition at line 56 of file complex.cpp.

◆ BOOST_PYTHON_MODULE()

BOOST_PYTHON_MODULE ( complex  )

Definition at line 62 of file complex.cpp.

◆ imag()

template<typename ComplexMatrix >
Eigen::Matrix<typename ComplexMatrix::RealScalar, ComplexMatrix::RowsAtCompileTime, ComplexMatrix::ColsAtCompileTime, ComplexMatrix::Options> imag ( const Eigen::MatrixBase< ComplexMatrix > &  complex_mat)

Definition at line 51 of file complex.cpp.

◆ real()

template<typename ComplexMatrix >
Eigen::Matrix<typename ComplexMatrix::RealScalar, ComplexMatrix::RowsAtCompileTime, ComplexMatrix::ColsAtCompileTime, ComplexMatrix::Options> real ( const Eigen::MatrixBase< ComplexMatrix > &  complex_mat)

Definition at line 43 of file complex.cpp.



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