/dports/science/cantera/cantera-2.5.1-611-gc4d6ecc15/src/matlab/ |
H A D | onedimmethods.cpp | 17 int job = getInt(prhs[2]); in onedimmethods() 23 dom = getInt(prhs[1]); in onedimmethods() 33 ph = getInt(prhs[3]); in onedimmethods() 34 kin = getInt(prhs[4]); in onedimmethods() 35 tr = getInt(prhs[5]); in onedimmethods() 70 m = mxGetM(prhs[4]); in onedimmethods() 225 npts = mxGetM(prhs[3]) * mxGetN(prhs[3]); in onedimmethods() 268 np = mxGetM(prhs[3])*mxGetN(prhs[3]); in onedimmethods() 269 nv = mxGetM(prhs[4])*mxGetN(prhs[4]); in onedimmethods() 291 np = mxGetM(prhs[5])*mxGetN(prhs[5]); in onedimmethods() [all …]
|
H A D | ctmethods.cpp | 38 const mxArray* prhs[]); 41 const mxArray* prhs[]); 44 const mxArray* prhs[]); 47 const mxArray* prhs[]); 50 const mxArray* prhs[]); 53 const mxArray* prhs[]); 62 const mxArray* prhs[]); 68 const mxArray* prhs[]); 77 const mxArray* prhs[]); 80 const mxArray* prhs[]); [all …]
|
/dports/math/qposases/qpOASES-3.2.1/interfaces/matlab/ |
H A D | qpOASES_sequence.cpp | 493 if ((!mxIsEmpty(prhs[5])) && (mxIsStruct(prhs[5]))) in mexFunction() 551 if ( ( mxGetN( prhs[ A_idx ] ) != 0 ) && ( mxGetN( prhs[ A_idx ] ) != nV ) ) in mexFunction() 578 if ((!mxIsEmpty(prhs[8])) && (mxIsStruct(prhs[8]))) in mexFunction() 690 if ( ( mxIsDouble( prhs[1] ) == false ) || ( mxIsScalar( prhs[1] ) == false ) ) in mexFunction() 740 if ( ( !mxIsEmpty( prhs[5] ) ) && ( mxIsStruct( prhs[5] ) ) ) in mexFunction() 776 if ( ( !mxIsEmpty( prhs[7] ) ) && ( mxIsStruct( prhs[7] ) ) ) in mexFunction() 822 if ( ( mxIsDouble( prhs[1] ) == false ) || ( mxIsScalar( prhs[1] ) == false ) ) in mexFunction() 905 if ( ( mxGetN( prhs[ A_idx ] ) != 0 ) && ( mxGetN( prhs[ A_idx ] ) != nV ) ) in mexFunction() 931 if ( ( !mxIsEmpty( prhs[9] ) ) && ( mxIsStruct( prhs[9] ) ) ) in mexFunction() 974 if ( ( mxIsDouble( prhs[1] ) == false ) || ( mxIsScalar( prhs[1] ) == false ) ) in mexFunction() [all …]
|
H A D | qpOASES.cpp | 328 if ( mxIsEmpty(prhs[0]) == 1 ) in mexFunction() 350 if ( ( nrhs >= 5 ) && ( !mxIsEmpty(prhs[4]) ) && ( mxIsStruct(prhs[4]) ) ) in mexFunction() 356 if ( ( !mxIsEmpty(prhs[4]) ) && ( mxIsStruct(prhs[4]) ) ) in mexFunction() 362 if ( ( nrhs >= 8 ) && ( !mxIsEmpty(prhs[7]) ) && ( mxIsStruct(prhs[7]) ) ) in mexFunction() 379 if ( mxIsStruct(prhs[5]) ) in mexFunction() 401 if ( mxIsEmpty( prhs[ A_idx ] ) ) in mexFunction() 421 if ( mxIsStruct(prhs[8]) ) in mexFunction() 442 ( mxIsDouble( prhs[ g_idx ] ) == 0 ) ) in mexFunction() 462 if ( ( H_idx >= 0 ) && ( ( mxGetN( prhs[ H_idx ] ) != nV ) || ( mxGetM( prhs[ H_idx ] ) != nV ) ) ) in mexFunction() 474 if ( mxIsDouble( prhs[ A_idx ] ) == 0 ) in mexFunction() [all …]
|
/dports/math/qposases/qpOASES-3.2.1/interfaces/octave/ |
H A D | qpOASES_sequence.cpp | 488 if ((!mxIsEmpty(prhs[5])) && (mxIsStruct(prhs[5]))) in mexFunction() 546 if ( ( mxGetN( prhs[ A_idx ] ) != 0 ) && ( mxGetN( prhs[ A_idx ] ) != nV ) ) in mexFunction() 573 if ((!mxIsEmpty(prhs[8])) && (mxIsStruct(prhs[8]))) in mexFunction() 679 if ( ( mxIsDouble( prhs[1] ) == false ) || ( mxIsScalar( prhs[1] ) == false ) ) in mexFunction() 729 if ( ( !mxIsEmpty( prhs[5] ) ) && ( mxIsStruct( prhs[5] ) ) ) in mexFunction() 765 if ( ( !mxIsEmpty( prhs[7] ) ) && ( mxIsStruct( prhs[7] ) ) ) in mexFunction() 811 if ( ( mxIsDouble( prhs[1] ) == false ) || ( mxIsScalar( prhs[1] ) == false ) ) in mexFunction() 894 if ( ( mxGetN( prhs[ A_idx ] ) != 0 ) && ( mxGetN( prhs[ A_idx ] ) != nV ) ) in mexFunction() 920 if ( ( !mxIsEmpty( prhs[9] ) ) && ( mxIsStruct( prhs[9] ) ) ) in mexFunction() 963 if ( ( mxIsDouble( prhs[1] ) == false ) || ( mxIsScalar( prhs[1] ) == false ) ) in mexFunction() [all …]
|
H A D | qpOASES.cpp | 311 if ( mxIsEmpty(prhs[0]) == 1 ) in mexFunction() 333 if ( ( nrhs >= 5 ) && ( !mxIsEmpty(prhs[4]) ) && ( mxIsStruct(prhs[4]) ) ) in mexFunction() 339 if ( ( !mxIsEmpty(prhs[4]) ) && ( mxIsStruct(prhs[4]) ) ) in mexFunction() 345 if ( ( nrhs >= 8 ) && ( !mxIsEmpty(prhs[7]) ) && ( mxIsStruct(prhs[7]) ) ) in mexFunction() 362 if ( mxIsStruct(prhs[5]) ) in mexFunction() 384 if ( mxIsEmpty( prhs[ A_idx ] ) ) in mexFunction() 404 if ( mxIsStruct(prhs[8]) ) in mexFunction() 425 ( mxIsDouble( prhs[ g_idx ] ) == 0 ) ) in mexFunction() 445 if ( ( H_idx >= 0 ) && ( ( mxGetN( prhs[ H_idx ] ) != nV ) || ( mxGetM( prhs[ H_idx ] ) != nV ) ) ) in mexFunction() 457 if ( mxIsDouble( prhs[ A_idx ] ) == 0 ) in mexFunction() [all …]
|
/dports/math/levmar/levmar-2.6/matlab/ |
H A D | levmar.c | 304 if(!mxIsDouble(prhs[1]) || mxIsComplex(prhs[1]) || !(mxGetM(prhs[1])==1 || mxGetN(prhs[1])==1)) in mexFunction() 325 if(!mxIsDouble(prhs[2]) || mxIsComplex(prhs[2]) || !(mxGetM(prhs[2])==1 || mxGetN(prhs[2])==1)) in mexFunction() 332 if(!mxIsDouble(prhs[3]) || mxIsComplex(prhs[3]) || mxGetM(prhs[3])!=1 || mxGetN(prhs[3])!=1) in mexFunction() 338 if(!mxIsDouble(prhs[4]) || mxIsComplex(prhs[4]) || (!(mxGetM(prhs[4])==1 || mxGetN(prhs[4])==1) && in mexFunction() 398 if(mxIsDouble(prhs[5]) && !mxIsComplex(prhs[5]) && (mxGetM(prhs[5])==1 || mxGetN(prhs[5])==1)){ in mexFunction() 399 … if(mxIsDouble(prhs[6]) && !mxIsComplex(prhs[6]) && (mxGetM(prhs[6])==1 || mxGetN(prhs[6])==1)){ in mexFunction() 417 if(mxIsDouble(prhs[5]) && !mxIsComplex(prhs[5]) && (mxGetM(prhs[5])==1 || mxGetN(prhs[5])==1)){ in mexFunction() 431 if(mxIsDouble(prhs[5]) && !mxIsComplex(prhs[5]) && mxGetM(prhs[5])>=1 && mxGetN(prhs[5])>=1){ in mexFunction() 432 … if(mxIsDouble(prhs[6]) && !mxIsComplex(prhs[6]) && (mxGetM(prhs[6])==1 || mxGetN(prhs[6])==1)){ in mexFunction() 451 if(mxIsDouble(prhs[5]) && !mxIsComplex(prhs[5]) && (mxGetM(prhs[5])==1 || mxGetN(prhs[5])==1)){ in mexFunction() [all …]
|
/dports/cad/meshlab/meshlab-Meshlab-2020.05/src/external/levmar-2.3/matlab/ |
H A D | levmar.c | 293 if(!mxIsDouble(prhs[1]) || mxIsComplex(prhs[1]) || !(mxGetM(prhs[1])==1 || mxGetN(prhs[1])==1)) in mexFunction() 314 if(!mxIsDouble(prhs[2]) || mxIsComplex(prhs[2]) || !(mxGetM(prhs[2])==1 || mxGetN(prhs[2])==1)) in mexFunction() 317 n=__MAX__(mxGetM(prhs[2]), mxGetN(prhs[2])); in mexFunction() 321 if(!mxIsDouble(prhs[3]) || mxIsComplex(prhs[3]) || mxGetM(prhs[3])!=1 || mxGetN(prhs[3])!=1) in mexFunction() 327 if(!mxIsDouble(prhs[4]) || mxIsComplex(prhs[4]) || (!(mxGetM(prhs[4])==1 || mxGetN(prhs[4])==1) && in mexFunction() 383 if(mxIsDouble(prhs[5]) && !mxIsComplex(prhs[5]) && (mxGetM(prhs[5])==1 || mxGetN(prhs[5])==1)){ in mexFunction() 384 … if(mxIsDouble(prhs[6]) && !mxIsComplex(prhs[6]) && (mxGetM(prhs[6])==1 || mxGetN(prhs[6])==1)){ in mexFunction() 402 if(mxIsDouble(prhs[5]) && !mxIsComplex(prhs[5]) && mxGetM(prhs[5])>=1 && mxGetN(prhs[5])>=1){ in mexFunction() 403 … if(mxIsDouble(prhs[6]) && !mxIsComplex(prhs[6]) && (mxGetM(prhs[6])==1 || mxGetN(prhs[6])==1)){ in mexFunction() 406 if((i=__MAX__(mxGetM(prhs[6]), mxGetN(prhs[6])))!=(Arows=mxGetM(prhs[5]))) in mexFunction() [all …]
|
/dports/math/nfft/nfft-3.5.2/matlab/fpt/ |
H A D | fptmex.c | 132 DM(if (!mxIsChar(prhs[0])) in mexFunction() 159 …DM(if (!(mxIsDouble(prhs[2])) || (mxGetNumberOfDimensions(prhs[2]) > 2) || (mxGetN(prhs[2]) != 1) … in mexFunction() 162 …DM(if (!(mxIsDouble(prhs[3])) || (mxGetNumberOfDimensions(prhs[3]) > 2) || (mxGetN(prhs[3]) != 1) … in mexFunction() 164 double *gam = mxGetPr(prhs[4]); in mexFunction() 165 …DM(if (!(mxIsDouble(prhs[4])) || (mxGetNumberOfDimensions(prhs[4]) > 2) || (mxGetN(prhs[4]) != 1) … in mexFunction() 186 …(if (!(mxIsDouble(prhs[2]) || mxIsComplex(prhs[2])) || (mxGetNumberOfDimensions(prhs[2]) > 2) || (… in mexFunction() 189 if(mxIsComplex(prhs[2])) in mexFunction() 190 a_imag = mxGetPi(prhs[2]); in mexFunction() 237 …(if (!(mxIsDouble(prhs[2]) || mxIsComplex(prhs[2])) || (mxGetNumberOfDimensions(prhs[2]) > 2) || (… in mexFunction() 240 if(mxIsComplex(prhs[2])) in mexFunction() [all …]
|
/dports/math/nfft/nfft-3.5.2/matlab/nfft/ |
H A D | nfftmex.c | 204 DM(if (!mxIsChar(prhs[0])) in mexFunction() 216 get_nm(prhs,&N,&M); in mexFunction() 229 get_n1n2m(prhs,&N1,&N2,&M); in mexFunction() 256 DM(if (!mxIsDouble(prhs[1]) || mxGetNumberOfDimensions(prhs[1]) > 2) in mexFunction() 286 DM(if (!mxIsCell(prhs[1]) || mxGetNumberOfElements(prhs[1]) < 3) in mexFunction() 443 DM(if (!mxIsDouble(prhs[2]) || mxGetNumberOfDimensions(prhs[2]) > 2) in mexFunction() 445 DM(if (mxGetM(prhs[2]) != (unsigned int)d || mxGetN(prhs[2]) != (unsigned int)m) in mexFunction() 465 DM(if (mxGetM(prhs[2]) * mxGetN(prhs[2]) != (unsigned int)m) in mexFunction() 468 double *fr = mxGetPr(prhs[2]), *fi = mxGetPi(prhs[2]); in mexFunction() 490 DM(if ( mxGetM(prhs[2]) != (unsigned int)n || mxGetN(prhs[2]) != 1) in mexFunction() [all …]
|
/dports/math/nfft/nfft-3.5.2/matlab/nfct/ |
H A D | nfctmex.c | 194 DM(if (!mxIsChar(prhs[0])) in mexFunction() 206 get_nm(prhs,&n,&m); in mexFunction() 219 get_n1n2m(prhs,&n1,&n2,&m); in mexFunction() 394 DM(if (!mxIsDouble(prhs[2]) || mxGetNumberOfDimensions(prhs[2]) > 2) in mexFunction() 396 DM(if (mxGetM(prhs[2]) != (unsigned int)d || mxGetN(prhs[2]) != (unsigned int)m) in mexFunction() 399 double *x = mxGetPr(prhs[2]); in mexFunction() 421 DM(if (mxGetM(prhs[2]) * mxGetN(prhs[2]) != (unsigned int)m) in mexFunction() 424 double *fr = mxGetPr(prhs[2]), *fi = mxGetPi(prhs[2]); in mexFunction() 442 DM(if (!mxIsDouble(prhs[2])) in mexFunction() 444 DM(if ( mxGetM(prhs[2]) != (unsigned int)n || mxGetN(prhs[2]) != 1) in mexFunction() [all …]
|
/dports/math/nfft/nfft-3.5.2/matlab/nfst/ |
H A D | nfstmex.c | 194 DM(if (!mxIsChar(prhs[0])) in mexFunction() 206 get_nm(prhs,&n,&m); in mexFunction() 219 get_n1n2m(prhs,&n1,&n2,&m); in mexFunction() 394 DM(if (!mxIsDouble(prhs[2]) || mxGetNumberOfDimensions(prhs[2]) > 2) in mexFunction() 396 DM(if (mxGetM(prhs[2]) != (unsigned int)d || mxGetN(prhs[2]) != (unsigned int)m) in mexFunction() 399 double *x = mxGetPr(prhs[2]); in mexFunction() 421 DM(if (mxGetM(prhs[2]) * mxGetN(prhs[2]) != (unsigned int)m) in mexFunction() 424 double *fr = mxGetPr(prhs[2]), *fi = mxGetPi(prhs[2]); in mexFunction() 442 DM(if (!mxIsDouble(prhs[2])) in mexFunction() 444 DM(if ( mxGetM(prhs[2]) != (unsigned int)n || mxGetN(prhs[2]) != 1) in mexFunction() [all …]
|
/dports/math/octave-forge-geometry/geometry-4.0.0/src/ |
H A D | mexclipper.cpp | 55 if (!mxIsStruct(prhs)) in read_polygons_MATLAB() 57 if (!mxGetM(prhs) || !mxGetN(prhs)) in read_polygons_MATLAB() 61 id_x = mxGetFieldNumber(prhs,"x"); in read_polygons_MATLAB() 69 id_y = mxGetFieldNumber(prhs,"y"); in read_polygons_MATLAB() 176 if (!mxIsDouble(prhs[2]) || mxGetM(prhs[2])!=1 || mxGetN(prhs[2])!=1) in mexFunction() 178 if (mxIsStruct(prhs[1])) in mexFunction() 183 ct = mxGetScalar(prhs[2]); in mexFunction() 205 if (!mxIsDouble(prhs[3]) || mxGetM(prhs[3])!=1 || mxGetN(prhs[3])!=1) in mexFunction() 235 if (!mxIsDouble(prhs[4]) || mxGetM(prhs[4])!=1 || mxGetN(prhs[4])!=1) in mexFunction() 291 if (!mxIsDouble(prhs[1]) || mxGetM(prhs[1])!=1 || mxGetN(prhs[1])!=1) in mexFunction() [all …]
|
/dports/math/octave-forge-ltfat/ltfat/thirdparty/Playrec/ |
H A D | pa_dll_playrec.h | 214 bool doAbout(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]); 215 bool doOverview(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]); 216 bool doInit(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]); 217 bool doPlayrec(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]); 218 bool doPlay(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]); 219 bool doRec(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]); 220 bool doGetRec(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]); 234 bool doPause(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]); 235 bool doBlock(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]); 238 bool doDelPage(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]); [all …]
|
H A D | pa_dll_playrec.c | 2504 if (!mxIsNumeric(prhs[0]) || mxIsComplex(prhs[0]) in doInit() 2518 if (!mxIsNumeric(prhs[1]) || mxIsComplex(prhs[1]) in doInit() 2543 if (!mxIsNumeric(prhs[2]) || mxIsComplex(prhs[2]) in doInit() 2657 if (!mxIsNumeric(prhs[5]) || mxIsComplex(prhs[5]) in doInit() 2864 return addPlayrecPage(&plhs[0], prhs[0], prhs[1], prhs[2], prhs[3]); in doPlayrec() 2988 if (!(mxIsNumeric(prhs[0]) || mxIsLogical(prhs[0])) in doPause() 3065 if (!mxIsNumeric(prhs[0]) || mxIsComplex(prhs[0]) in doBlock() 3179 if (!mxIsNumeric(prhs[0]) || mxIsComplex(prhs[0]) in doIsFinished() 3322 if (!mxIsNumeric(prhs[0]) || mxIsComplex(prhs[0]) in doDelPage() 3429 if (!mxIsNumeric(prhs[0]) || mxIsComplex(prhs[0]) in doGetPlayrec() [all …]
|
/dports/math/primme/primme-3.2/Matlab/ |
H A D | primme_mex.cpp | 582 if (!mxIsNumeric(prhs[(NARG)]) && !mxIsChar(prhs[(NARG)])) { \ 1178 if (mxGetData(prhs[1]) == basisEvals) mxSetData(prhs[1], NULL); in monitorFunEigs() 1179 if (mxGetData(prhs[2]) == basisFlags) mxSetData(prhs[2], NULL); in monitorFunEigs() 1180 if (mxGetData(prhs[3]) == iblock) mxSetData(prhs[3], NULL); in monitorFunEigs() 1181 if (mxGetData(prhs[4]) == basisNorms) mxSetData(prhs[4], NULL); in monitorFunEigs() 1182 if (mxGetData(prhs[5]) == numConverged) mxSetData(prhs[5], NULL); in monitorFunEigs() 1183 if (mxGetData(prhs[6]) == lockedEvals) mxSetData(prhs[6], NULL); in monitorFunEigs() 1184 if (mxGetData(prhs[7]) == lockedFlags) mxSetData(prhs[7], NULL); in monitorFunEigs() 1185 if (mxGetData(prhs[8]) == lockedNorms) mxSetData(prhs[8], NULL); in monitorFunEigs() 1186 if (mxGetData(prhs[9]) == inner_its) mxSetData(prhs[9], NULL); in monitorFunEigs() [all …]
|
/dports/math/py-primme/primme-3.2/Matlab/ |
H A D | primme_mex.cpp | 582 if (!mxIsNumeric(prhs[(NARG)]) && !mxIsChar(prhs[(NARG)])) { \ 1178 if (mxGetData(prhs[1]) == basisEvals) mxSetData(prhs[1], NULL); in monitorFunEigs() 1179 if (mxGetData(prhs[2]) == basisFlags) mxSetData(prhs[2], NULL); in monitorFunEigs() 1180 if (mxGetData(prhs[3]) == iblock) mxSetData(prhs[3], NULL); in monitorFunEigs() 1181 if (mxGetData(prhs[4]) == basisNorms) mxSetData(prhs[4], NULL); in monitorFunEigs() 1182 if (mxGetData(prhs[5]) == numConverged) mxSetData(prhs[5], NULL); in monitorFunEigs() 1183 if (mxGetData(prhs[6]) == lockedEvals) mxSetData(prhs[6], NULL); in monitorFunEigs() 1184 if (mxGetData(prhs[7]) == lockedFlags) mxSetData(prhs[7], NULL); in monitorFunEigs() 1185 if (mxGetData(prhs[8]) == lockedNorms) mxSetData(prhs[8], NULL); in monitorFunEigs() 1186 if (mxGetData(prhs[9]) == inner_its) mxSetData(prhs[9], NULL); in monitorFunEigs() [all …]
|
/dports/math/nfft/nfft-3.5.2/matlab/nnfft/ |
H A D | nnfftmex.c | 194 DM(if (!mxIsChar(prhs[0])) in mexFunction() 212 get_initArg(prhs,d,&N_total,&M,N); in mexFunction() 420 DM(if (!mxIsDouble(prhs[2]) || mxGetNumberOfDimensions(prhs[2]) > 2) in mexFunction() 422 DM(if (mxGetM(prhs[2]) != (unsigned int)d || mxGetN(prhs[2]) != (unsigned int)m) in mexFunction() 443 DM(if (!mxIsDouble(prhs[2]) || mxGetNumberOfDimensions(prhs[2]) > 2) in mexFunction() 445 DM(if (mxGetM(prhs[2]) != (unsigned int)d || mxGetN(prhs[2]) != (unsigned int)m) in mexFunction() 465 DM(if (mxGetM(prhs[2]) * mxGetN(prhs[2]) != (unsigned int)m) in mexFunction() 468 double *fr = mxGetPr(prhs[2]), *fi = mxGetPi(prhs[2]); in mexFunction() 488 DM(if (!mxIsDouble(prhs[2])) in mexFunction() 490 DM(if ( mxGetM(prhs[2]) != (unsigned int)n || mxGetN(prhs[2]) != 1) in mexFunction() [all …]
|
/dports/graphics/pfstools/pfstools-2.1.0/src/matlab/ |
H A D | pfs_transform_colorspace.cpp | 53 !mxIsChar( prhs[0] ) || in mexFunction() 54 !( mxIsDouble( prhs[1] ) || mxIsSingle( prhs[1] ) ) || in mexFunction() 55 !( mxIsDouble( prhs[2] ) || mxIsSingle( prhs[2] ) ) || in mexFunction() 56 !( mxIsDouble( prhs[3] ) || mxIsSingle( prhs[3] ) ) || in mexFunction() 57 !mxIsChar( prhs[4] )) && in mexFunction() 59 !mxIsChar( prhs[0] ) || in mexFunction() 60 !( mxIsDouble( prhs[1] ) || mxIsSingle( prhs[1] ) ) || in mexFunction() 62 !mxIsChar( prhs[2] )) in mexFunction() 82 copy_mex_to_pfsarray( prhs[1], &c1Buf ); in mexFunction() 83 copy_mex_to_pfsarray( prhs[2], &c2Buf ); in mexFunction() [all …]
|
/dports/math/nfft/nfft-3.5.2/matlab/nfsft/ |
H A D | nfsftmex.c | 63 get_nm(prhs,n,m); in get_nmf() 70 get_nmf(prhs,n,m,f); in get_nmffc() 175 DM(if (!mxIsChar(prhs[0])) in mexFunction() 187 get_nm(prhs,&n,&m); in mexFunction() 407 DM(if (!mxIsDouble(prhs[2]) || mxGetNumberOfDimensions(prhs[2]) > 2) in mexFunction() 409 DM(if (mxGetM(prhs[2]) != 2 || mxGetN(prhs[2]) != (unsigned)m) in mexFunction() 433 DM(if (mxGetM(prhs[2]) * mxGetN(prhs[2]) != (unsigned)m) in mexFunction() 436 double *fr = mxGetPr(prhs[2]), *fi = mxGetPi(prhs[2]); in mexFunction() 461 double *f_hatr = mxGetPr(prhs[2]), *f_hati = mxGetPi(prhs[2]); in mexFunction() 486 DM(if (mxGetM(prhs[2]) != (unsigned)((n+1)*(n+1)) || mxGetN(prhs[2]) != 1) in mexFunction() [all …]
|
/dports/science/dynare/dynare-4.6.4/mex/sources/sobol/ |
H A D | qmc_sequence.cc | 63 if (!mxIsNumeric(prhs[0])) in mexFunction() 66 int dimension = static_cast<int>(mxGetScalar(prhs[0])); in mexFunction() 70 if (!(mxIsNumeric(prhs[1]) && mxIsClass(prhs[1], "int64"))) in mexFunction() 78 if (!mxIsNumeric(prhs[2])) in mexFunction() 81 int type = static_cast<int>(mxGetScalar(prhs[2])); in mexFunction() 100 if (nrhs > 3 && !mxIsNumeric(prhs[3])) in mexFunction() 105 sequence_size = static_cast<int>(mxGetScalar(prhs[3])); in mexFunction() 122 …if (nrhs > 4 && type == 2 && !(mxGetN(prhs[4]) == 1 && mxGetM(prhs[4]) == 1)) // Sequence of unifo… in mexFunction() 129 lower_bounds = mxGetPr(prhs[4]); in mexFunction() 137 cholcov = mxGetPr(prhs[4]); in mexFunction() [all …]
|
/dports/math/nfft/nfft-3.5.2/matlab/nfsoft/ |
H A D | nfsoftmex.c | 126 DM(if (!mxIsChar(prhs[0])) in mexFunction() 184 …DM(if (!(mxIsDouble(prhs[2])) || (mxGetNumberOfDimensions(prhs[2]) > 2) || (mxGetN(prhs[2]) != pla… in mexFunction() 201 int i = get_plan(prhs[1]); in mexFunction() 206 …(if (!(mxIsDouble(prhs[2]) || mxIsComplex(prhs[2])) || (mxGetNumberOfDimensions(prhs[2]) > 2) || (… in mexFunction() 208 double *fh_real = mxGetPr(prhs[2]), *fh_imag = mxGetPi(prhs[2]); in mexFunction() 232 int i = get_plan(prhs[1]); in mexFunction() 234 …(if (!(mxIsDouble(prhs[2]) || mxIsComplex(prhs[2])) || (mxGetNumberOfDimensions(prhs[2]) > 2) || (… in mexFunction() 237 if(mxIsComplex(prhs[2])) in mexFunction() 258 int i = get_plan(prhs[1]); in mexFunction() 266 int i = get_plan(prhs[1]); in mexFunction() [all …]
|
/dports/graphics/gmt/gmt-6.3.0/src/ |
H A D | gmt_gdalwrite.c | 236 t -= prhs->pad[XLO]; in gmtgdalwrite_write_jp2() 240 n = (uint64_t)i*prhs->nXSizeFull + prhs->pad[XLO]; in gmtgdalwrite_write_jp2() 250 n = (uint64_t)i*prhs->nXSizeFull + prhs->pad[XLO]; in gmtgdalwrite_write_jp2() 260 n = (uint64_t)i*prhs->nXSizeFull + prhs->pad[XLO]; in gmtgdalwrite_write_jp2() 270 n = (uint64_t)i*prhs->nXSizeFull + prhs->pad[XLO]; in gmtgdalwrite_write_jp2() 280 n = (uint64_t)i*prhs->nXSizeFull + prhs->pad[XLO]; in gmtgdalwrite_write_jp2() 319 is_geog = prhs->geog; in gmt_gdalwrite() 323 data = prhs->data; in gmt_gdalwrite() 379 if (prhs->C.active) { in gmt_gdalwrite() 395 ptr = prhs->C.cpt; in gmt_gdalwrite() [all …]
|
/dports/science/py-dlib/dlib-19.22/dlib/matlab/ |
H A D | mex_wrapper.cpp | 682 if( !(mxIsDouble(prhs) || mxIsSingle(prhs) || mxIsLogical(prhs) ) || in validate_and_populate_arg() 732 if (!mxIsDouble(prhs) || mxIsComplex(prhs)) in validate_and_populate_arg() 745 if (!mxIsSingle(prhs) || mxIsComplex(prhs)) in validate_and_populate_arg() 771 if (!mxIsUint8(prhs) || mxIsComplex(prhs)) in validate_and_populate_arg() 782 if (!mxIsInt8(prhs) || mxIsComplex(prhs)) in validate_and_populate_arg() 794 if (!mxIsInt16(prhs) || mxIsComplex(prhs)) in validate_and_populate_arg() 806 if (!mxIsUint16(prhs) || mxIsComplex(prhs)) in validate_and_populate_arg() 819 if (!mxIsInt32(prhs) || mxIsComplex(prhs)) in validate_and_populate_arg() 832 if (!mxIsUint32(prhs) || mxIsComplex(prhs)) in validate_and_populate_arg() 845 if (!mxIsUint64(prhs) || mxIsComplex(prhs)) in validate_and_populate_arg() [all …]
|
/dports/science/dlib-cpp/dlib-19.22/dlib/matlab/ |
H A D | mex_wrapper.cpp | 682 if( !(mxIsDouble(prhs) || mxIsSingle(prhs) || mxIsLogical(prhs) ) || in validate_and_populate_arg() 732 if (!mxIsDouble(prhs) || mxIsComplex(prhs)) in validate_and_populate_arg() 745 if (!mxIsSingle(prhs) || mxIsComplex(prhs)) in validate_and_populate_arg() 771 if (!mxIsUint8(prhs) || mxIsComplex(prhs)) in validate_and_populate_arg() 782 if (!mxIsInt8(prhs) || mxIsComplex(prhs)) in validate_and_populate_arg() 794 if (!mxIsInt16(prhs) || mxIsComplex(prhs)) in validate_and_populate_arg() 806 if (!mxIsUint16(prhs) || mxIsComplex(prhs)) in validate_and_populate_arg() 819 if (!mxIsInt32(prhs) || mxIsComplex(prhs)) in validate_and_populate_arg() 832 if (!mxIsUint32(prhs) || mxIsComplex(prhs)) in validate_and_populate_arg() 845 if (!mxIsUint64(prhs) || mxIsComplex(prhs)) in validate_and_populate_arg() [all …]
|