Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

mexUtility.h

00001 /* OOQP                                                               *
00002  * Authors: E. Michael Gertz, Stephen J. Wright                       *
00003  * (C) 2001 University of Chicago. See Copyright Notification in OOQP */
00004 
00005 /* Mike Gertz 2-Aug-98 */
00006 #ifndef MEXUTILITY
00007 #define MEXUTILITY
00008 
00009 #ifndef mex_h
00010 #include "mex.h"
00011 #endif
00012 
00013 
00014 void dble2int ( int n, double * da, int * ia );
00015 void int2dble( int n, int * ia, double * da );
00016 
00017 void assertScalar( const mxArray * mex, char name[8] );
00018 void assertRowDim( const mxArray * mex, int dim,  char name[8] );
00019 void assertColDim( const mxArray * mex, int dim,  char name[8] );
00020 void assertString( const mxArray * mex, int maxl, char name[8] );
00021 void assertSparse( const mxArray * mex, char name[8] );
00022 void mx2char ( int rows, int cols, int lendp, mxChar * dp, char string[] );
00023 void jc2cols ( int n, int * jc, int * cols );
00024 void int2integer( int n, int * i, int * ii );
00025 int iequal( int * a, int * b, int n );
00026 void assertDense( const mxArray * mex, char name[8] );
00027 int overlaySparse( int m, int n, int nza, int ira[], int jca[], double a[],
00028                                         int nzb, int irb[], int jcb[], double b[] );
00029 
00030 #endif

Generated on Wed Mar 22 13:58:33 2006 for OOQP by doxygen 1.3.5