IT++ Logo Newcom Logo

itmex.h File Reference

Conversion routines between IT++ and Matlab. More...

#include <itpp/itbase.h>
#include <mex.h>

Go to the source code of this file.

Namespaces

namespace  itpp

Functions

bin mxArray2bin (const mxArray *in)
 Convert the matlab-format mxArray to bin.
short mxArray2short (const mxArray *in)
 Convert the matlab-format mxArray to short.
int mxArray2int (const mxArray *in)
 Convert the matlab-format mxArray to int.
double mxArray2double (const mxArray *in)
 Convert the matlab-format mxArray to double.
std::complex< double > mxArray2double_complex (const mxArray *in)
 Convert the matlab-format mxArray to complex<double>.
bvec mxArray2bvec (const mxArray *in)
 Convert the matlab-format mxArray to bvec.
svec mxArray2svec (const mxArray *in)
 Convert the matlab-format mxArray to svec.
ivec mxArray2ivec (const mxArray *in)
 Convert the matlab-format mxArray to ivec.
vec mxArray2vec (const mxArray *in)
 Convert the matlab-format mxArray to vec.
cvec mxArray2cvec (const mxArray *in)
 Convert the matlab-format mxArray to cvec.
bmat mxArray2bmat (const mxArray *in)
 Convert the matlab-format mxArray to bmat.
smat mxArray2smat (const mxArray *in)
 Convert the matlab-format mxArray to smat.
imat mxArray2imat (const mxArray *in)
 Convert the matlab-format mxArray to imat.
mat mxArray2mat (const mxArray *in)
 Convert the matlab-format mxArray to mat.
cmat mxArray2cmat (const mxArray *in)
 Convert the matlab-format mxArray to cmat.
void bin2mxArray (const bin &in, mxArray *out)
 Convert bin to the matlab-format mxArray.
void short2mxArray (const short &in, mxArray *out)
 Convert short to the matlab-format mxArray.
void int2mxArray (const int &in, mxArray *out)
 Convert int to the matlab-format mxArray.
void double2mxArray (const double &in, mxArray *out)
 Convert double to the matlab-format mxArray.
void double_complex2mxArray (const std::complex< double > &in, mxArray *out)
 Convert complex<double> to the matlab-format mxArray.
void bvec2mxArray (const bvec &in, mxArray *out)
 Convert bvec to the matlab-format mxArray.
void svec2mxArray (const svec &in, mxArray *out)
 Convert svec to the matlab-format mxArray.
void ivec2mxArray (const ivec &in, mxArray *out)
 Convert ivec to the matlab-format mxArray.
void vec2mxArray (const vec &in, mxArray *out)
 Convert vec to the matlab-format mxArray.
void cvec2mxArray (const cvec &in, mxArray *out)
 Convert cvec to the matlab-format mxArray.
void bmat2mxArray (const bmat &in, mxArray *out)
 Convert bmat to the matlab-format mxArray.
void smat2mxArray (const smat &in, mxArray *out)
 Convert smat to the matlab-format mxArray.
void imat2mxArray (const imat &in, mxArray *out)
 Convert imat to the matlab-format mxArray.
void mat2mxArray (const mat &in, mxArray *out)
 Convert mat to the matlab-format mxArray.
void cmat2mxArray (const cmat &in, mxArray *out)
 Convert cmat to the matlab-format mxArray.
void mxArray2Csvec (const mxArray *in, short *out)
 Convert the matlab-format mxArray to C-format pointer to short.
void mxArray2Civec (const mxArray *in, int *out)
 Convert the matlab-format mxArray to C-format pointer to int.
void mxArray2Cvec (const mxArray *in, double *out)
 Convert the matlab-format mxArray to C-format pointer to double.
void mxArray2Ccvec (const mxArray *in, double *out_real, double *out_imag)
 Convert the matlab-format mxArray to C-format pointers to double (real and imaginary parts).
void mxArray2Csmat (const mxArray *in, short **out)
 Convert the matlab-format mxArray to C-format pointer to pointer to short.
void mxArray2Cimat (const mxArray *in, int **out)
 Convert the matlab-format mxArray to C-format pointer to pointer to int.
void mxArray2Cmat (const mxArray *in, double **out)
 Convert the matlab-format mxArray to C-format pointer to pointer to double.
void mxArray2Ccmat (const mxArray *in, double **out_real, double **out_imag)
 Convert the matlab-format mxArray to C-format pointer to pointer to double (real and imaginary parts).
void Csvec2mxArray (short *in, mxArray *out)
 Convert C-format pointer to short to matlab-format mxArray.
void Civec2mxArray (int *in, mxArray *out)
 Convert C-format pointer to int to matlab-format mxArray.
void Cvec2mxArray (double *in, mxArray *out)
 Convert C-format pointer to double to matlab-format mxArray.
void Ccvec2mxArray (double *in_real, double *in_imag, mxArray *out)
 Convert C-format pointers to double (real and imaginary parts) to matlab-format mxArray.
void Csmat2mxArray (short **in, mxArray *out)
 Convert C-format pointer to pointer to short to matlab-format mxArray.
void Cimat2mxArray (int **in, mxArray *out)
 Convert C-format pointer to pointer to int to matlab-format mxArray.
void Cmat2mxArray (double **in, mxArray *out)
 Convert C-format pointer to pointer to double to matlab-format mxArray.
void Ccmat2mxArray (double **in_real, double **in_imag, mxArray *out)
 Convert C-format pointer to pointer to double (real and imaginary parts) to matlab-format mxArray.


Detailed Description

Conversion routines between IT++ and Matlab.

Author:
Tony Ottosson and Pal Frenger
Date
2007-04-23 10:38:57 +0200 (Mon, 23 Apr 2007)
Revision
1015

-------------------------------------------------------------------------

IT++ - C++ library of mathematical, signal processing, speech processing, and communications classes and functions

Copyright (C) 1995-2007 (see AUTHORS file for a list of contributors)

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

-------------------------------------------------------------------------

Definition in file itmex.h.

SourceForge Logo

Generated on Fri Jan 11 08:51:40 2008 for IT++ by Doxygen 1.3.9.1