NiHu  2.0
NiHu::mex Namespace Reference

Matlab mex interface classes. More...

Classes

struct  classID
 metafunction assigning a Matlab class ID to a C type More...
 
struct  classID< double >
 specialisation of classID to double More...
 
struct  classID< float >
 specialisation of classID to float More...
 
struct  classID< int >
 specialisation of classID to double More...
 
struct  classID< std::complex< RealScalar > >
 
struct  classID< unsigned >
 
class  complex_matrix
 Container class of a complex matrix stored in Matlab format. More...
 
struct  complexity
 metafunction assigning a Matlab complexity to a C type More...
 
struct  complexity< std::complex< RealScalar > >
 
class  index_proxy
 index proxy class of a complex matrix More...
 
class  matrix
 Matlab mex matrix. More...
 
class  matrix_base
 base class of a Matlab mex matrix More...
 
class  real_matrix
 

Typedefs

template<class RealScalar >
using real_matrix = matrix< RealScalar >
 
template<class RealScalar >
using complex_matrix = matrix< std::complex< RealScalar > >
 

Functions

template<class Scalar >
void * get_data_ptr (mxArray const *pa)
 
template<class Scalar >
Scalar * get_data_pointer (mxArray const *pa)
 
template<>
void * get_data_ptr< double > (mxArray const *pa)
 
template<>
void * get_data_ptr< float > (mxArray const *pa)
 
template<>
void * get_data_ptr< int > (mxArray const *pa)
 
template<>
void * get_data_ptr< unsigned > (mxArray const *pa)
 
template<>
void * get_data_ptr< std::complex< double > > (mxArray const *pa)
 
template<>
void * get_data_ptr< std::complex< float > > (mxArray const *pa)
 
template<class Scalar >
const Scalar & get_scalar (mxArray const *pa)
 

Detailed Description

Matlab mex interface classes.

The mex namespace contains classes and functions that provide an easy-to-use interface to input and output Matlab matrices