stack-c.h File Reference

#include <string.h>
#include "core_math.h"
#include "stack-def.h"
#include "stack1.h"
#include "stack2.h"
#include "stack3.h"

Include dependency graph for stack-c.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  scisparse
struct  sciintmat
struct  doublecomplex
struct  tagTabF
struct  rhs_opts__

Defines

#define I_CHAR   1
#define I_INT16   2
#define I_INT32   4
#define I_UCHAR   11
#define I_UINT16   12
#define I_UINT32   14
#define IC_CHAR(x)   ((char *) (x))
#define IC_INT16(x)   ((short int *) (x))
#define IC_INT32(x)   ((int *) (x))
#define IC_UCHAR(x)   ((unsigned char *) (x))
#define IC_UINT16(x)   ((unsigned short int *) (x))
#define IC_UINT32(x)   ((unsigned int *) (x))
#define TRUE_   1
#define FALSE_   0
#define iadr(l)   ((l)+(l)-1)
#define sadr(l)   (((l)/2)+1)
#define cadr(l)   ((l)+(l)+(l)+(l)-3)
#define Top   C2F(vstk).top
#define Fin   C2F(com).fin
#define Rhs   C2F(com).rhs
#define Lhs   C2F(com).lhs
#define Bot   C2F(vstk).bot
#define Err   C2F(iop).err
#define Leps_sci   *stk(C2F(vstk).leps)
#define stk(x)   ( C2F(stack).Stk + x-1 )
#define istk(x)   (((int *) C2F(stack).Stk) + x-1 )
#define sstk(x)   (((float *) C2F(stack).Stk) + x-1 )
#define cstk(x)   (((char *) C2F(stack).Stk) + x-1 )
#define zstk(x)   (((doublecomplex *) C2F(stack).Stk) + x-1 )
#define Lstk(x)   (((integer *) C2F(vstk).lstk) + x-1 )
#define Infstk(x)   (((integer *) C2F(vstk).infstk) + x-1 )
#define hstk(x)   (((long long *) C2F(stack).Stk) + x-1 )
#define CheckOpt(first)   if ( C2F(checkopt)(first) ) {return 0;}
#define FirstOpt()   C2F(firstopt)()
#define FindOpt(str, opts)   C2F(findopt)(str,opts)
#define NumOpt()   C2F(numopt)()
#define IsOpt(k, name)   C2F(isopt)((c_local=k,&c_local),name,nlgh)
#define Maxvol(n, ct)   C2F(maxvol)((c_local=n,&c_local),ct,1L)
#define CreateVarFromPtr(n, ct, mx, nx, lx)
#define CreateCVarFromPtr(n, ct, it, mx, nx, lrx, lcx)
#define CreateRefFromName(n, nx)   if(! C2F(createreffromname)(n,nx)){return 0;}
#define CreateRef(num, point)   if(! C2F(createreference)(num,point)){return 0;}
#define ChangeToRef(num, point)   C2F(changetoref)(num,point)
#define FreePtr(lx)   C2F(freeptr)((double **) lx)
#define GetType(n)   C2F(gettype)((c_local = n +Top - Rhs, &c_local))
#define VarType(n)   C2F(vartype)((c_local=n,&c_local))
#define ElementType(n, m)   C2F(elementtype)((c_local=n,&c_local),(c1_local=m,&c1_local))
#define OverLoad(n)   C2F(overload)((c_local = n +Top - Rhs, &c_local),fname,strlen(fname))
#define GetRhsVar(n, ct, mx, nx, lx)
#define CreateVar(n, ct, mx, nx, lx)
#define CreateWork(n, mx, lx)
#define SetWorkSize(n, mx)
#define CreateData(n, nx)
#define GetRhsCVar(n, ct, it, mx, nx, lrx, lcx)
#define CreateCVar(n, ct, it, mx, nx, lrx, lcx)
#define Error(x)   C2F(error)((c_local=x,&c_local))
#define Errorinfo(routinename, info)   C2F(errorinfo)(routinename,(c_local=info, &c_local), strlen(routinename));
#define PutLhsVar()   if (! C2F(putlhsvar)()) { return 0; }
#define ReadMatrix(ct, mx, nx, w)   if (! C2F(creadmat)(ct,mx,nx,w,(unsigned long)strlen(ct) )) { return 0; }
#define WriteMatrix(ct, mx, nx, w)   if (! C2F(cwritemat)(ct,mx,nx,w,strlen(ct) )) { return 0; }
#define PutVar(num, nam)   if (! C2F(putvar)( (c_local=num, &c_local), nam, strlen(nam) )) { return 0; }
#define ReadString(ct, mx, w)   if (! C2F(creadchain)(ct,mx,w,strlen(ct),strlen(w) )) { return 0; }
#define WriteString(ct, mx, w)   if (! C2F(cwritechain)(ct,mx,w,strlen(ct),strlen(w) )) { return 0; }
#define GetMatrixptr(ct, mx, nx, lx)   if (! C2F(cmatptr)(ct,mx,nx,lx,(unsigned long)strlen(ct) )) { return 0; }
#define GetMatrixdims(n, mx, nx)   if (! C2F(getmatdims)((c_local=n,&c_local),mx,nx)) { return 0; }
#define CreateVarFrom(n, ct, mx, nx, lx, lx1)   if (!C2F(createvarfrom)((c_local=n,&c_local),ct,mx,nx,lx,lx1,1L)) { return 0;}
#define CreateCVarFrom(n, ct, it, mx, nx, lx, lc, lx1, lc1)   if (!C2F(createcvarfrom)((c_local=n,&c_local),ct,it,mx,nx,lx,lc,lx1,lc1,1L)) { return 0;}
#define Createlist(m, n)   C2F(createlist)((c_local=m,&c_local),(c1_local=n,&c1_local))
#define CreateListVarFrom(n, m, ct, mx, nx, lx, lx1)   if (!C2F(createlistvarfrom)((c_local=n,&c_local),(c1_local=m,&c1_local),ct,mx,nx,(void *)lx,(void *) lx1,1L)) { return 0;}
#define CreateListCVarFrom(n, m, ct, it, mx, nx, lx, lc, lx1, lc1)   if (!C2F(createlistcvarfrom)((c_local=n,&c_local),(c1_local=m,&c1_local),ct,it,mx,nx,(void *)lx,(void *) lc,(void *) lx1,(void *)lc1,1L)) { return 0;}
#define CreateListVarFromPtr(n, m, ct, mx, nx, lx1)   if (!C2F(createlistvarfromptr)((c_local=n,&c_local),(c1_local=m,&c1_local),ct,mx,nx,(void *) lx1,1L)) { return 0;}
#define CreateListCVarFromPtr(n, m, ct, it, mx, nx, lx1, lc1)   if (!C2F(createlistcvarfromptr)((c_local=n,&c_local),(c1_local=m,&c1_local),ct,it,mx,nx,(void *) lx1,(void *) lc1,1L)) { return 0;}
#define GetListRhsVar(n, m, ct, m1e1, n1e1, l1e1)   if(!C2F(getlistrhsvar)((c_local=n,&c_local),(c1_local=m,&c1_local),ct,m1e1,n1e1,(integer *) l1e1,1L)) {return 0;}
#define GetListRhsCVar(n, m, ct, it, m1e1, n1e1, l1e1, l1e2)   if(!C2F(getlistrhscvar)((c_local=n,&c_local),(c1_local=m,&c1_local),ct,it,m1e1,n1e1,(integer *) l1e1,(integer *) l1e2,1L)) {return 0;}
#define CheckRhs(minrhs, maxrhs)
#define CheckLhs(minlhs, maxlhs)
#define Convert2Sci(x)   C2F(convert2sci)((c_local=x,&c_local))
#define SciString(ibegin, name, mlhs, mrhs)   if( ! C2F(scistring)(ibegin,name,mlhs,mrhs,(unsigned long)strlen(name))) return 0;
#define SciFunction(ibegin, lf, mlhs, mrhs)   if( ! C2F(scifunction)(ibegin,lf,mlhs,mrhs)) return 0;
#define PExecSciFunction(n, mx, nx, lx, name, fsqpenv)
#define Nbvars   C2F(intersci).nbvars
#define LhsVar(x)   C2F(intersci).lhsvar[x-1]
#define VarPtr(x)   C2F(intersci).lad[x-1]
#define CheckSquare(pos, m, n)   if (! check_square(pos,m,n)) return 0;
#define CheckVector(pos, m, n)   if (! check_vector(pos,m,n)) return 0;
#define CheckRow(pos, m, n)   if (! check_row(pos,m,n)) return 0;
#define CheckColumn(pos, m, n)   if (! check_col(pos,m,n)) return 0;
#define CheckScalar(pos, m, n)   if (! check_scalar(pos,m,n)) return 0;
#define CheckDims(pos, m, n, m1, n1)   if (! check_dims(pos,m,n,m1,n1)) return 0;
#define CheckLength(pos, m, m1)   if (! check_length(pos,m,m1)) return 0;
#define CheckSameDims(pos, pos1, m, n, m1, n1)   if (! check_same_dims(pos,pos1,m,n,m1,n1)) return 0;
#define CheckDimProp(pos, pos1, m)   if (! check_dim_prop(pos,pos1,m)) return 0;
#define CheckOneDim(pos, dim, val, valref)   if (! check_one_dim(pos,dim,val,valref)) return 0;
#define CheckListSquare(lpos, pos, m, n)   if (! check_list_square(lpos,pos,m,n)) return 0;
#define CheckListVector(lpos, pos, m, n)   if (! check_list_vector(lpos,pos,m,n)) return 0;
#define CheckListRow(lpos, pos, m, n)   if (! check_list_row(lpos,pos,m,n)) return 0;
#define CheckListColumn(lpos, pos, m, n)   if (! check_list_column(lpos,pos,m,n)) return 0;
#define CheckListScalar(lpos, pos, m, n)   if (! check_list_scalar(lpos,pos,m,n)) return 0;
#define CheckListOneDim(lpos, pos, dim, val, valref)   if (! check_list_one_dim(lpos,pos,dim,val,valref)) return 0;

Typedefs

typedef scisparse SciSparse
typedef sciintmat SciIntMat
typedef int interfun __PARAMS ((char *fname, unsigned long l))
typedef tagTabF TabF
typedef rhs_opts__ rhs_opts

Enumerations

enum  sci_types {
  sci_matrix = 1, sci_poly = 2, sci_boolean = 4, sci_sparse = 5,
  sci_boolean_sparse = 6, sci_ints = 8, sci_handles = 9, sci_strings = 10,
  sci_u_function = 11, sci_c_function = 13, sci_lib = 14, sci_list = 15,
  sci_tlist = 16, sci_mlist = 17
}

Functions

static void initial_c1_local (void)
static void initial_c_local (void)
void *GetFuncPtr __PARAMS ((char *, int, void *, void(*f)(), int *, int *, int *))
int get_optionals __PARAMS ((char *name, rhs_opts opts[]))
int C2F (error) __PARAMS((int *))
int C2F (firstopt) __PARAMS((void))
int C2F (findopt) __PARAMS((char *
int rhs_opts *int C2F (numopt) __PARAMS((void))
int C2F (isopt) __PARAMS((integer *
int C2F (gettype) __PARAMS((integer *pos))
int C2F (checkrhs) __PARAMS((char *fname
int C2F (checklhs) __PARAMS((char *fname
void C2F (freeptr) __PARAMS((double *ip[]))

Variables

static int c1_local = 0
static int c_local = 0
int char unsigned long
int integerimin
int integer integerimax
int integer integer unsigned
long 
fname_len
int integerimin
int integer integerimax
int integer integer unsigned
long 
fname_len


Define Documentation

#define Bot   C2F(vstk).bot

Definition at line 129 of file stack-c.h.

Referenced by C2F(), cre_smat_from_str(), cre_smat_from_str_i(), cre_sparse_from_ptr(), cre_sparse_from_ptr_i(), creatework(), crebmat(), crebmati(), credata(), crehmat(), crehmati(), creimat(), creimati(), cremat(), cremati(), crepointer(), crepointeri(), cresmat(), cresmat1(), cresmat2(), cresmat3(), cresmat4(), CreSmatFromHist(), cresmati(), cresparse(), cresparsei(), crestringi(), crestringmatfromc(), crewimat(), crewmat(), fakecrebmat(), fakecremat(), fakecresmat2(), lcrestringmatfromc(), lmatj(), maxvol(), mspcreate(), pmatj(), putlhsvar(), run(), sci_besselh(), sci_besseli(), sci_besselj(), sci_besselk(), sci_bessely(), scibuiltin(), scifunction(), scirun(), smatj(), stcreate(), str2sci(), UnrefStruct(), var2sci(), and vcopyobj().

#define cadr ( l   )     ((l)+(l)+(l)+(l)-3)

Definition at line 123 of file stack-c.h.

Referenced by createlistvarfrom(), createvar(), createvarfrom(), getlistrhsvar(), getrhsvar(), maxvol(), and mvfromto().

#define ChangeToRef ( num,
point   )     C2F(changetoref)(num,point)

Definition at line 176 of file stack-c.h.

Referenced by mxSetM(), mxSetN(), and mxSetNzmax().

#define CheckColumn ( pos,
m,
n   )     if (! check_col(pos,m,n)) return 0;

Definition at line 321 of file stack-c.h.

#define CheckDimProp ( pos,
pos1,
m   )     if (! check_dim_prop(pos,pos1,m)) return 0;

Definition at line 326 of file stack-c.h.

Referenced by sci_besselh(), sci_besseli(), sci_besselj(), sci_besselk(), sci_bessely(), sci_champ_G(), sci_contour2di(), sci_grayplot(), sci_plot2d(), sci_plot2d1_G(), sci_xfpolys(), and sci_xpolys().

#define CheckDims ( pos,
m,
n,
m1,
n1   )     if (! check_dims(pos,m,n,m1,n1)) return 0;

Definition at line 323 of file stack-c.h.

Referenced by __PARAMS(), check_xy(), intscicosimc(), sci_xgetmouse(), and sci_xsetech().

#define CheckLength ( pos,
m,
m1   )     if (! check_length(pos,m,m1)) return 0;

Definition at line 324 of file stack-c.h.

Referenced by C2F(), get_colminmax_arg(), get_colout_arg(), get_nax_arg(), get_optional_double_arg(), get_optional_int_arg(), get_with_mesh_arg(), sci_drawaxis(), sci_matplot1(), sci_xaxis(), sci_xclea(), sci_xrect(), sci_xsetech(), sci_xsort(), and sci_zoom_rect().

#define CheckLhs ( minlhs,
maxlhs   ) 

Value:

if (! C2F(checklhs)(fname,(c_local = minlhs,&c_local),(c1_local=maxlhs,&c1_local),\
                      strlen(fname))) { \
      return 0;\
  }

Definition at line 266 of file stack-c.h.

Referenced by __PARAMS(), _PARAMS(), C2F(), cdfchnI(), ext14cI(), int_f4(), int_objfprintfMat(), int_objfscanfMat(), int_objsprintf(), intbdiagr(), intbsplin3val(), intbuildouttb(), intcpass2(), intcshep2d(), intcurblkc(), intdgeesx(), intdgesvd(), intdgetrf(), intdiffobjs(), intdlassq(), intdsyev(), intduplicate(), InterfaceWindowsClipboard(), inteval_cshep2d(), intex10c(), intex11c(), intex13c(), intex14c(), intex15c(), intex16c(), intex17c(), intex1c(), intex2c(), intex3c(), intex4c_2(), intex4c_3(), intex4c_4(), intex5c(), intex6c(), intex7c(), intex8c(), intex9c(), intinterp1(), intinterp2d(), intinterp3d(), intlsq_splin(), intmatmul(), intopenxls(), intphasesim(), intreadxls(), intscicosimc(), intsmclearerr(), intsmclose(), intsmeof(), intsmerror(), intsmget(), intsmgetstr(), intsmput(), intsmputstr(), intsmseek(), intsmtell(), intsplin(), intsplin2d(), intsplin3d(), intspvm_addhosts(), intspvm_barrier(), intspvm_bcast(), intspvm_bufinfo(), intspvm_config(), intspvm_delhosts(), intspvm_error(), intspvm_error_mode(), intspvm_exit(), intspvm_f772sci(), intspvm_get_timer(), intspvm_getinst(), intspvm_gettid(), intspvm_gsize(), intspvm_halt(), intspvm_joingroup(), intspvm_kill(), intspvm_lvgroup(), intspvm_mytid(), intspvm_parent(), intspvm_probe(), intspvm_recv(), intspvm_recv_var(), intspvm_reduce(), intspvm_sci2f77(), intspvm_send(), intspvm_send_var(), intspvm_set_timer(), intspvm_spawn(), intspvm_spawn_independent(), intspvm_start(), intspvm_tasks(), intspvm_tidtohost(), inttimescicos(), inttree2(), inttree3(), intview(), intxproperty(), intzgeesx(), intzgemm(), lasterror(), RandI(), sci_addcb(), sci_beta(), sci_champ_G(), sci_clc(), sci_contour2di(), sci_copy(), sci_delete(), sci_draw(), sci_drawaxis(), sci_drawlater(), sci_drawnow(), sci_driver(), sci_geom3d(), sci_get(), sci_glue(), sci_help_gtk(), sci_legendre(), sci_newaxes(), sci_raise_window(), sci_readgif(), sci_readxbm(), sci_relocate_handle(), sci_set(), sci_set_posfig_dim(), sci_seteventhandler(), sci_show_window(), sci_showalluimenushandles(), sci_StringBox(), sci_swap_handles(), sci_UImenu(), sci_unglue(), sci_unzoom(), sci_xchange(), sci_xclear(), sci_xclick(), sci_xget(), sci_xgetech(), sci_xgetmouse(), sci_xgraduate(), sci_xname(), sci_xs2bmp(), sci_xs2emf(), sci_xset(), sci_xsetech(), sci_xstringl(), and sci_zoom_rect().

#define CheckListColumn ( lpos,
pos,
m,
n   )     if (! check_list_column(lpos,pos,m,n)) return 0;

Definition at line 332 of file stack-c.h.

#define CheckListOneDim ( lpos,
pos,
dim,
val,
valref   )     if (! check_list_one_dim(lpos,pos,dim,val,valref)) return 0;

Definition at line 334 of file stack-c.h.

#define CheckListRow ( lpos,
pos,
m,
n   )     if (! check_list_row(lpos,pos,m,n)) return 0;

Definition at line 331 of file stack-c.h.

#define CheckListScalar ( lpos,
pos,
m,
n   )     if (! check_list_scalar(lpos,pos,m,n)) return 0;

Definition at line 333 of file stack-c.h.

#define CheckListSquare ( lpos,
pos,
m,
n   )     if (! check_list_square(lpos,pos,m,n)) return 0;

Definition at line 329 of file stack-c.h.

#define CheckListVector ( lpos,
pos,
m,
n   )     if (! check_list_vector(lpos,pos,m,n)) return 0;

Definition at line 330 of file stack-c.h.

#define CheckOneDim ( pos,
dim,
val,
valref   )     if (! check_one_dim(pos,dim,val,valref)) return 0;

Definition at line 327 of file stack-c.h.

Referenced by intspvm_addhosts(), and intspvm_delhosts().

#define CheckOpt ( first   )     if ( C2F(checkopt)(first) ) {return 0;}

Definition at line 155 of file stack-c.h.

#define CheckRhs ( minrhs,
maxrhs   ) 

Value:

if (! C2F(checkrhs)(fname,(c_local = minrhs,&c_local),(c1_local=maxrhs,&c1_local),\
                      strlen(fname))) { \
      return 0;\
  }

Definition at line 260 of file stack-c.h.

Referenced by __PARAMS(), _PARAMS(), C2F(), cdfchnI(), ext14cI(), int_f4(), int_objfprintfMat(), int_objfscanf(), int_objfscanfMat(), int_objnumTokens(), int_objsprintf(), intbdiagr(), intbsplin3val(), intbuildouttb(), intcpass2(), intcshep2d(), intdgeesx(), intdgesvd(), intdgetrf(), intdiffobjs(), intdlassq(), intdsyev(), intduplicate(), InterfaceWindowsClipboard(), inteval_cshep2d(), intex10c(), intex11c(), intex13c(), intex14c(), intex15c(), intex16c(), intex17c(), intex1c(), intex2c(), intex3c(), intex4c_2(), intex4c_3(), intex4c_4(), intex5c(), intex6c(), intex7c(), intex8c(), intex9c(), intgetscicosvarsc(), intinterp1(), intinterp2d(), intinterp3d(), intlsq_splin(), intmatmul(), intopenxls(), intphasesim(), intreadxls(), intscicosimc(), intsetblockerror(), intsetxproperty(), intsmclearerr(), intsmclose(), intsmeof(), intsmerror(), intsmget(), intsmgetstr(), intsmput(), intsmputstr(), intsmseek(), intsmtell(), intsplin(), intsplin2d(), intsplin3d(), intspvm_addhosts(), intspvm_barrier(), intspvm_bcast(), intspvm_bufinfo(), intspvm_config(), intspvm_delhosts(), intspvm_error(), intspvm_error_mode(), intspvm_exit(), intspvm_f772sci(), intspvm_get_timer(), intspvm_getinst(), intspvm_gettid(), intspvm_gsize(), intspvm_halt(), intspvm_joingroup(), intspvm_kill(), intspvm_lvgroup(), intspvm_mytid(), intspvm_parent(), intspvm_probe(), intspvm_recv(), intspvm_recv_var(), intspvm_reduce(), intspvm_sci2f77(), intspvm_send(), intspvm_send_var(), intspvm_set_timer(), intspvm_spawn(), intspvm_spawn_independent(), intspvm_start(), intspvm_tasks(), intspvm_tidtohost(), inttimescicos(), inttree2(), inttree3(), intview(), intxproperty(), intzgeesx(), intzgemm(), lasterror(), RandI(), sci_addcb(), sci_besselh(), sci_besseli(), sci_besselj(), sci_besselk(), sci_bessely(), sci_beta(), sci_champ_G(), sci_clc(), sci_contour2di(), sci_copy(), sci_delete(), sci_draw(), sci_drawaxis(), sci_drawlater(), sci_drawnow(), sci_driver(), sci_fec(), sci_geom3d(), sci_get(), sci_glue(), sci_grayplot(), sci_legendre(), sci_matplot(), sci_matplot1(), sci_move(), sci_newaxes(), sci_param3d(), sci_param3d1(), sci_plot2d(), sci_plot2d1_G(), sci_plot3d(), sci_readgif(), sci_readxbm(), sci_relocate_handle(), sci_set(), sci_set_posfig_dim(), sci_seteventhandler(), sci_show_window(), sci_showalluimenushandles(), sci_StringBox(), sci_swap_handles(), sci_UImenu(), sci_unglue(), sci_unzoom(), sci_winsid(), sci_xarc(), sci_xarcs(), sci_xarrows(), sci_xaxis(), sci_xchange(), sci_xclea(), sci_xclear(), sci_xclick(), sci_xdel(), sci_xend(), sci_xfarcs(), sci_xfpoly(), sci_xfpolys(), sci_xget(), sci_xgetech(), sci_xgetmouse(), sci_xgraduate(), sci_xgrid(), sci_xinit(), sci_xlfont(), sci_xload(), sci_xname(), sci_xpoly(), sci_xpolys(), sci_xrect(), sci_xrects(), sci_xs2bmp(), sci_xs2emf(), sci_xsave(), sci_xsegs(), sci_xset(), sci_xsetech(), sci_xsort(), sci_xstring(), sci_xstringb(), sci_xstringl(), sci_xtitle(), sci_zoom_rect(), XClearScreenConsole(), and xs2file().

#define CheckRow ( pos,
m,
n   )     if (! check_row(pos,m,n)) return 0;

Definition at line 320 of file stack-c.h.

Referenced by intspvm_kill(), intspvm_send(), and intspvm_send_var().

#define CheckSameDims ( pos,
pos1,
m,
n,
m1,
n1   )     if (! check_same_dims(pos,pos1,m,n,m1,n1)) return 0;

Definition at line 325 of file stack-c.h.

Referenced by sci_beta(), sci_champ_G(), sci_fec(), sci_geom3d(), sci_param3d(), sci_param3d1(), sci_xarrows(), sci_xchange(), sci_xfpoly(), sci_xfpolys(), sci_xpoly(), sci_xpolys(), and sci_xsegs().

#define CheckScalar ( pos,
m,
n   )     if (! check_scalar(pos,m,n)) return 0;

Definition at line 322 of file stack-c.h.

Referenced by C2F(), check_xy(), int_f4(), intbdiagr(), intscicosimc(), intspvm_barrier(), intspvm_bcast(), intspvm_bufinfo(), intspvm_error(), intspvm_getinst(), intspvm_gettid(), intspvm_probe(), intspvm_recv(), intspvm_recv_var(), intspvm_reduce(), intspvm_send(), intspvm_send_var(), intspvm_spawn(), intspvm_spawn_independent(), intspvm_tasks(), intspvm_tidtohost(), intzgemm(), sci_besselh(), sci_besseli(), sci_besselj(), sci_besselk(), sci_bessely(), sci_drawaxis(), sci_xarc(), sci_xarrows(), sci_xaxis(), sci_xclea(), sci_xfpoly(), sci_xget(), sci_xgraduate(), sci_xgrid(), sci_xlfont(), sci_xpoly(), sci_xrect(), sci_xstring(), sci_xstringb(), sci_xstringl(), sci_xtitle(), and xs2file().

#define CheckSquare ( pos,
m,
n   )     if (! check_square(pos,m,n)) return 0;

Definition at line 318 of file stack-c.h.

Referenced by C2F(), GetBMATRIX(), GetIMATRIX(), GetMATRIX(), GetSPARSE(), GetSTRINGMAT(), intbdiagr(), intdgeesx(), and intzgeesx().

#define CheckVector ( pos,
m,
n   )     if (! check_vector(pos,m,n)) return 0;

Definition at line 319 of file stack-c.h.

Referenced by intsplin3d(), sci_contour2di(), sci_grayplot(), sci_xarcs(), sci_xarrows(), sci_xfarcs(), sci_xfpolys(), sci_xpolys(), sci_xrects(), and sci_xsegs().

#define Convert2Sci ( x   )     C2F(convert2sci)((c_local=x,&c_local))

used for conversion to Scilab internal format

Definition at line 276 of file stack-c.h.

Referenced by badconnection(), connection(), Message(), mxCreateString(), sci_demo(), and sciExecCallback().

#define CreateCVar ( n,
ct,
it,
mx,
nx,
lrx,
lcx   ) 

Value:

if(! C2F(createcvar)((c_local=n,&c_local),ct,it,mx,nx,lrx,lcx, 1L))\
        { return 0;  }

Definition at line 205 of file stack-c.h.

Referenced by __PARAMS(), intbdiagr(), intdgeesx(), sci_besselh(), sci_besseli(), sci_besselj(), sci_besselk(), and sci_bessely().

#define CreateCVarFrom ( n,
ct,
it,
mx,
nx,
lx,
lc,
lx1,
lc1   )     if (!C2F(createcvarfrom)((c_local=n,&c_local),ct,it,mx,nx,lx,lc,lx1,lc1,1L)) { return 0;}

Definition at line 229 of file stack-c.h.

#define CreateCVarFromPtr ( n,
ct,
it,
mx,
nx,
lrx,
lcx   ) 

Value:

if ( ! C2F(createcvarfromptr)((c_local=n,&c_local),ct,it,mx,nx,(double *)lrx,(double *) lcx,1L)) \
                                             { return 0;}

Definition at line 170 of file stack-c.h.

#define CreateData ( n,
nx   ) 

Value:

if(! C2F(createdata)((c_local=n,&c_local),nx))\
        { return 0;  }

Definition at line 199 of file stack-c.h.

Referenced by createreference(), createreffromname(), empty(), mexGetArray(), mexGetVariable(), mexGetVariablePtr(), mxCreateLogicalMatrix(), mxDuplicateArray(), mxGetCell(), mxGetField(), and mxGetFieldByNumber().

#define Createlist ( m,
n   )     C2F(createlist)((c_local=m,&c_local),(c1_local=n,&c1_local))

Definition at line 231 of file stack-c.h.

Referenced by intspvm_config(), and intspvm_tasks().

#define CreateListCVarFrom ( n,
m,
ct,
it,
mx,
nx,
lx,
lc,
lx1,
lc1   )     if (!C2F(createlistcvarfrom)((c_local=n,&c_local),(c1_local=m,&c1_local),ct,it,mx,nx,(void *)lx,(void *) lc,(void *) lx1,(void *)lc1,1L)) { return 0;}

Definition at line 235 of file stack-c.h.

Referenced by cre_hmat().

#define CreateListCVarFromPtr ( n,
m,
ct,
it,
mx,
nx,
lx1,
lc1   )     if (!C2F(createlistcvarfromptr)((c_local=n,&c_local),(c1_local=m,&c1_local),ct,it,mx,nx,(void *) lx1,(void *) lc1,1L)) { return 0;}

Definition at line 239 of file stack-c.h.

#define CreateListVarFrom ( n,
m,
ct,
mx,
nx,
lx,
lx1   )     if (!C2F(createlistvarfrom)((c_local=n,&c_local),(c1_local=m,&c1_local),ct,mx,nx,(void *)lx,(void *) lx1,1L)) { return 0;}

Definition at line 233 of file stack-c.h.

Referenced by cre_hmat(), intcshep2d(), and intsplin3d().

#define CreateListVarFromPtr ( n,
m,
ct,
mx,
nx,
lx1   )     if (!C2F(createlistvarfromptr)((c_local=n,&c_local),(c1_local=m,&c1_local),ct,mx,nx,(void *) lx1,1L)) { return 0;}

Definition at line 237 of file stack-c.h.

Referenced by addColVectorToReturnedList(), addMatrixToReturnedList(), addRowVectorToReturnedList(), addStringColVectorToReturnedList(), cre_hmat(), createReturnedList(), intcpass2(), intcshep2d(), intsplin3d(), intspvm_config(), and intspvm_tasks().

#define CreateRef ( num,
point   )     if(! C2F(createreference)(num,point)){return 0;}

Definition at line 174 of file stack-c.h.

#define CreateRefFromName ( n,
nx   )     if(! C2F(createreffromname)(n,nx)){return 0;}

Definition at line 172 of file stack-c.h.

#define CreateVar ( n,
ct,
mx,
nx,
lx   ) 

Value:

if(! C2F(createvar)((c_local=n,&c_local),ct,mx,nx,(void *)lx, 1L))\
        { return 0;  }

Definition at line 190 of file stack-c.h.

Referenced by __PARAMS(), _PARAMS(), badconnection(), C2F(), CdfBase(), connection(), cre_hmat(), create_index_vector(), createReturnedList(), ext14cI(), get_style_arg(), int_objfscanfMat(), int_objnumTokens(), intbdiagr(), intbsplin3val(), intcpass2(), intcshep2d(), intcurblkc(), intdgeesx(), intdgesvd(), intdgetrf(), intdiffobjs(), intdlassq(), intdsyev(), intduplicate(), intehm(), InterfaceWindowsClipboard(), inteval_cshep2d(), intex10c(), intex17c(), intex1c(), intex2c(), intex3c(), intex8c(), intgetscicosvarsc(), intihm(), intinterp1(), intinterp2d(), intinterp3d(), intlinear_interpn(), intlsq_splin(), intmatmul(), intopenxls(), intphasesim(), intreadxls(), intsmclose(), intsmeof(), intsmerror(), intsmget(), intsmgetstr(), intsmputstr(), intsmtell(), intsplin(), intsplin2d(), intsplin3d(), intspvm_addhosts(), intspvm_barrier(), intspvm_bcast(), intspvm_bufinfo(), intspvm_delhosts(), intspvm_exit(), intspvm_get_timer(), intspvm_getinst(), intspvm_gettid(), intspvm_gsize(), intspvm_halt(), intspvm_joingroup(), intspvm_kill(), intspvm_lvgroup(), intspvm_mytid(), intspvm_parent(), intspvm_probe(), intspvm_recv(), intspvm_recv_var(), intspvm_reduce(), intspvm_send(), intspvm_send_var(), intspvm_set_timer(), intspvm_spawn(), intspvm_spawn_independent(), intspvm_start(), intspvm_tidtohost(), inttimescicos(), inttree2(), inttree3(), intzgeesx(), lasterror(), Message(), RandI(), reshape_hmat(), sci_besselh(), sci_beta(), sci_contour2di(), sci_copy(), sci_demo(), sci_driver(), sci_glue(), sci_legendre(), sci_newaxes(), sci_plot2d(), sci_plot2d1_G(), sci_relocate_handle(), sci_StringBox(), sci_UImenu(), sci_unglue(), sci_winsid(), sci_xarcs(), sci_xchange(), sci_xclick(), sci_xfarcs(), sci_xfpolys(), sci_xget(), sci_xgetech(), sci_xgetmouse(), sci_xgraduate(), sci_xpolys(), sci_xrects(), sci_xsort(), sci_xstringl(), sciex17c(), sciExecCallback(), sciReturnChar(), sciReturnColHandleVector(), sciReturnDouble(), sciReturnEmptyMatrix(), sciReturnHandle(), sciReturnInt(), sciReturnMatrix(), sciReturnRowHandleVector(), sciReturnRowIntVector(), sciReturnRowVector(), sciReturnRowVectorFromInt(), sciReturnString(), TCL_UiGet(), and TwoRhs_gettext().

#define CreateVarFrom ( n,
ct,
mx,
nx,
lx,
lx1   )     if (!C2F(createvarfrom)((c_local=n,&c_local),ct,mx,nx,lx,lx1,1L)) { return 0;}

Definition at line 228 of file stack-c.h.

#define CreateVarFromPtr ( n,
ct,
mx,
nx,
lx   ) 

Value:

if ( ! C2F(createvarfromptr)((c_local=n,&c_local),ct,mx,nx,(double *)lx,1L)) \
                                             { return 0;}

Definition at line 167 of file stack-c.h.

Referenced by __PARAMS(), _PARAMS(), C2F(), getversion_no_rhs(), getversion_one_rhs(), getversion_two_rhs(), int_objfscanfMat(), int_objsprintf(), intcpass2(), InterfaceWindowsClipboard(), intex4c_2(), intex4c_3(), intex4c_4(), intex5c(), intex6c(), intopenxls(), intreadxls(), intspvm_error(), intspvm_error_mode(), intxproperty(), OneLhs(), OneRhs_gettext(), RandI(), ReturnValueSetenv(), sci_contour2di(), sci_readgif(), sci_readxbm(), sci_xlfont(), sci_xsort(), sciReturnStringMatrix(), TCL_UiGet(), TwoLhs(), and TwoRhs_gettext().

#define CreateWork ( n,
mx,
lx   ) 

Value:

if(! C2F(creatework)((c_local=n,&c_local),mx,(void *)lx))\
        { return 0;  }

Definition at line 193 of file stack-c.h.

Referenced by intspvm_bcast(), intspvm_recv(), and intspvm_send().

#define cstk ( x   )     (((char *) C2F(stack).Stk) + x-1 )

Definition at line 136 of file stack-c.h.

Referenced by __PARAMS(), _PARAMS(), C2F(), cdfchnI(), ConvertData(), createlistvarfrom(), createvar(), createvarfrom(), createvarfromptr(), get_labels_arg(), get_legend_arg(), get_logflags_arg(), get_strf_arg(), GetFuncPtr(), getlistrhsvar(), getrhsvar(), getStringFromStack(), getversion_one_rhs(), getversion_two_rhs(), int_objfprintfMat(), int_objfscanf(), int_objfscanfMat(), int_objnumTokens(), int_objsprintf(), InterfaceScilabToUiSet(), InterfaceWindowsClipboard(), intex1c(), intex4c_4(), intex9c(), intopenxls(), intsmget(), intsmgetstr(), intsmput(), intsmputstr(), intsmseek(), intspvm_barrier(), intspvm_bcast(), intspvm_error_mode(), intspvm_getinst(), intspvm_gettid(), intspvm_gsize(), intspvm_joingroup(), intspvm_lvgroup(), intspvm_recv_var(), intspvm_reduce(), intspvm_send_var(), intspvm_spawn(), intspvm_spawn_independent(), intspvm_start(), intview(), lasterror(), Message(), OneRhs_gettext(), RandI(), sci_addcb(), sci_delete(), sci_demo(), sci_drawaxis(), sci_driver(), sci_get(), sci_legendre(), sci_move(), sci_readgif(), sci_readxbm(), sci_set(), sci_seteventhandler(), sci_UImenu(), sci_xchange(), sci_xclick(), sci_xget(), sci_xgetech(), sci_xinit(), sci_xlfont(), sci_xname(), sci_xpoly(), sci_xs2bmp(), sci_xs2emf(), sci_xset(), sci_xsetech(), sci_xsort(), sci_xstringb(), sciExecCallback(), sciReturnChar(), sciReturnString(), TCL_UiGet(), TwoRhs_gettext(), and xs2file().

#define ElementType ( n,
m   )     C2F(elementtype)((c_local=n,&c_local),(c1_local=m,&c1_local))

Definition at line 183 of file stack-c.h.

Referenced by isListCurrentElementDoubleMatrix(), and isListCurrentElementStringMatrix().

#define Err   C2F(iop).err

Definition at line 130 of file stack-c.h.

Referenced by C2F(), cre_smat_from_str_i(), cre_sparse_from_ptr_i(), creadbmat(), creadchain(), creadchains(), creadcmat(), creadmat(), crebmati(), credata(), crehmati(), creimati(), cremati(), crepointeri(), cresmat4(), CreSmatFromHist(), cresmati(), cresparsei(), crestringi(), crewimat(), cwritebmat(), cwritechain(), cwritecmat(), cwritemat(), fakecresmat2(), get_logflags_arg(), getlengthchain(), intbdiagr(), intex11c(), intex7c(), intex8c(), lmatj(), mspcreate(), parse(), pmatj(), putvar(), run(), scibuiltin(), scifunction(), sciops(), scirun(), smatj(), stcreate(), syncexec(), and vcopyobj().

#define Error ( x   )     C2F(error)((c_local=x,&c_local))

Definition at line 208 of file stack-c.h.

Referenced by C2F(), ext14cI(), get_logflags_arg(), get_optionals(), GetFuncPtr(), intbdiagr(), intdgesvd(), intdlassq(), intdsyev(), intmatmul(), intsmget(), intsmgetstr(), intsmput(), intsmputstr(), intsmseek(), intsmtell(), RandI(), sci_champ_G(), sci_fec(), sci_grayplot(), sci_matplot(), sci_param3d(), sci_param3d1(), sci_plot2d(), sci_plot2d1_G(), sci_plot3d(), ScrollBarOn(), and UnrefStruct().

#define Errorinfo ( routinename,
info   )     C2F(errorinfo)(routinename,(c_local=info, &c_local), strlen(routinename));

Definition at line 210 of file stack-c.h.

Referenced by intdgeesx(), and intzgeesx().

#define FALSE_   0

Definition at line 119 of file stack-c.h.

#define Fin   C2F(com).fin

Definition at line 126 of file stack-c.h.

Referenced by cmatbptr(), cmatcptr(), cmatptr(), cmatsptr(), creadbmat(), creadchain(), creadchains(), creadcmat(), creadmat(), getlengthchain(), gw_arnoldi(), gw_boolean(), gw_cacsd0(), gw_cacsd1(), gw_cacsd2(), gw_cacsd3(), gw_core(), gw_cscicos(), gw_differential_equations1(), gw_differential_equations2(), gw_differential_equations3(), gw_differential_equations4(), gw_differential_equations5(), gw_differential_equations6(), gw_elementaries_functions(), gw_fftw(), gw_fileio(), gw_graphics(), gw_gui(), gw_integer(), gw_interpolation(), gw_io(), gw_linear_algebra(), gw_localization(), gw_metanet(), gw_optim(), gw_polynomials(), gw_pvm(), gw_randlib(), gw_scicos(), gw_signal(), gw_sound(), gw_sparse(), gw_special_functions1(), gw_special_functions2(), gw_statistics(), gw_symbolic(), gw_tclsci(), gw_time(), gw_wintools(), gwdatastructures1(), gwdatastructures2(), intehm(), intihm(), libtst(), Name2ptr(), Name2where(), objptr(), optvarget(), sciops(), and scirun().

#define FindOpt ( str,
opts   )     C2F(findopt)(str,opts)

Definition at line 159 of file stack-c.h.

Referenced by get_colminmax_arg(), get_colout_arg(), get_labels_arg(), get_legend_arg(), get_logflags_arg(), get_nax_arg(), get_optional_double_arg(), get_optional_int_arg(), get_rect_arg(), get_strf_arg(), get_style_arg(), get_with_mesh_arg(), and get_zminmax_arg().

 
#define FirstOpt (  )     C2F(firstopt)()

Definition at line 157 of file stack-c.h.

Referenced by get_colminmax_arg(), get_colout_arg(), get_labels_arg(), get_legend_arg(), get_logflags_arg(), get_nax_arg(), get_optional_double_arg(), get_optional_int_arg(), get_rect_arg(), get_strf_arg(), get_style_arg(), get_with_mesh_arg(), get_zminmax_arg(), sci_champ_G(), sci_fec(), sci_grayplot(), sci_matplot(), sci_param3d(), sci_param3d1(), sci_plot2d(), sci_plot2d1_G(), and sci_plot3d().

#define FreePtr ( lx   )     C2F(freeptr)((double **) lx)

Definition at line 178 of file stack-c.h.

#define GetListRhsCVar ( n,
m,
ct,
it,
m1e1,
n1e1,
l1e1,
l1e2   )     if(!C2F(getlistrhscvar)((c_local=n,&c_local),(c1_local=m,&c1_local),ct,it,m1e1,n1e1,(integer *) l1e1,(integer *) l1e2,1L)) {return 0;}

Definition at line 245 of file stack-c.h.

#define GetListRhsVar ( n,
m,
ct,
m1e1,
n1e1,
l1e1   )     if(!C2F(getlistrhsvar)((c_local=n,&c_local),(c1_local=m,&c1_local),ct,m1e1,n1e1,(integer *) l1e1,1L)) {return 0;}

Definition at line 243 of file stack-c.h.

Referenced by getDoubleMatrixFromList(), getStringMatrixFromList(), intbsplin3val(), inteval_cshep2d(), intinterp3d(), sci_param3d1(), and sci_plot3d().

#define GetMatrixdims ( n,
mx,
nx   )     if (! C2F(getmatdims)((c_local=n,&c_local),mx,nx)) { return 0; }

Definition at line 226 of file stack-c.h.

Referenced by __PARAMS().

#define GetMatrixptr ( ct,
mx,
nx,
lx   )     if (! C2F(cmatptr)(ct,mx,nx,lx,(unsigned long)strlen(ct) )) { return 0; }

Definition at line 224 of file stack-c.h.

Referenced by example1(), ext12c(), ext8c(), intex10c(), my_job(), my_plot(), and premier_exemple().

#define GetRhsCVar ( n,
ct,
it,
mx,
nx,
lrx,
lcx   ) 

Value:

if (! C2F(getrhscvar)((c_local=n,&c_local),ct,it,mx,nx,lrx,lcx,1L))\
        { return 0;  }

Definition at line 202 of file stack-c.h.

Referenced by __PARAMS(), intbdiagr(), intex13c(), sci_besselh(), sci_besseli(), sci_besselj(), sci_besselk(), sci_bessely(), sci_beta(), and sci_legendre().

#define GetRhsVar ( n,
ct,
mx,
nx,
lx   ) 

Value:

if (! C2F(getrhsvar)((c_local=n,&c_local),ct,mx,nx,(integer *) lx,1L))\
        { return 0;  }

Definition at line 187 of file stack-c.h.

Referenced by __PARAMS(), _PARAMS(), C2F(), CdfBase(), cdfchnI(), create_index_vector(), createAssignedList(), empty(), ext14cI(), get_colminmax_arg(), get_colout_arg(), get_labels_arg(), get_legend_arg(), get_logflags_arg(), get_nax_arg(), get_optional_double_arg(), get_optional_int_arg(), get_optionals(), get_rect_arg(), get_strf_arg(), get_style_arg(), get_with_mesh_arg(), get_zminmax_arg(), GetFuncPtr(), getStackListNbElement(), getversion_one_rhs(), getversion_two_rhs(), int_f4(), int_objfprintfMat(), int_objfscanf(), int_objfscanfMat(), int_objnumTokens(), int_objsprintf(), intbdiagr(), intbsplin3val(), intbuildouttb(), intcpass2(), intcshep2d(), intdgeesx(), intdgesvd(), intdgetrf(), intdlassq(), intdsyev(), intduplicate(), InterfaceScilabToUiSet(), InterfaceWindowsClipboard(), inteval_cshep2d(), intex11c(), intex17c(), intex1c(), intex2c(), intex3c(), intex7c(), intex8c(), intex9c(), intinterp1(), intinterp2d(), intinterp3d(), intlinear_interpn(), intlsq_splin(), intmatmul(), intopenxls(), intreadxls(), intsetblockerror(), intsetxproperty(), intsmclearerr(), intsmclose(), intsmeof(), intsmerror(), intsmget(), intsmgetstr(), intsmput(), intsmputstr(), intsmseek(), intsmtell(), intsplin(), intsplin2d(), intsplin3d(), intspvm_addhosts(), intspvm_barrier(), intspvm_bcast(), intspvm_bufinfo(), intspvm_delhosts(), intspvm_error(), intspvm_error_mode(), intspvm_getinst(), intspvm_gettid(), intspvm_gsize(), intspvm_joingroup(), intspvm_kill(), intspvm_lvgroup(), intspvm_probe(), intspvm_recv(), intspvm_recv_var(), intspvm_reduce(), intspvm_send(), intspvm_send_var(), intspvm_spawn(), intspvm_spawn_independent(), intspvm_start(), intspvm_tasks(), intspvm_tidtohost(), inttree2(), inttree3(), intview(), intzgeesx(), intzgemm(), IsAScalar(), lasterror(), Matrix2String(), OneRhs_gettext(), RandI(), sci_addcb(), sci_besselh(), sci_besseli(), sci_besselj(), sci_besselk(), sci_bessely(), sci_champ_G(), sci_clc(), sci_contour2di(), sci_copy(), sci_delete(), sci_draw(), sci_driver(), sci_fec(), sci_geom3d(), sci_get(), sci_glue(), sci_grayplot(), sci_legendre(), sci_matplot(), sci_matplot1(), sci_move(), sci_param3d(), sci_param3d1(), sci_plot2d(), sci_plot2d1_G(), sci_plot3d(), sci_raise_window(), sci_readgif(), sci_readxbm(), sci_relocate_handle(), sci_set(), sci_set_posfig_dim(), sci_seteventhandler(), sci_show_window(), sci_showalluimenushandles(), sci_StringBox(), sci_swap_handles(), sci_UImenu(), sci_unglue(), sci_unzoom(), sci_xarc(), sci_xarcs(), sci_xarrows(), sci_xaxis(), sci_xchange(), sci_xclea(), sci_xclear(), sci_xdel(), sci_xfarcs(), sci_xfpoly(), sci_xfpolys(), sci_xget(), sci_xgetmouse(), sci_xgraduate(), sci_xgrid(), sci_xinit(), sci_xlfont(), sci_xname(), sci_xpoly(), sci_xpolys(), sci_xrect(), sci_xrects(), sci_xs2bmp(), sci_xs2emf(), sci_xsegs(), sci_xset(), sci_xsetech(), sci_xsort(), sci_xstring(), sci_xstringb(), sci_xstringl(), sci_xtitle(), sci_zoom_rect(), TCL_UiGet(), TwoRhs_gettext(), XClearScreenConsole(), and xs2file().

#define GetType ( n   )     C2F(gettype)((c_local = n +Top - Rhs, &c_local))

Definition at line 180 of file stack-c.h.

Referenced by __PARAMS(), _PARAMS(), C2F(), create_index_vector(), getversion_one_rhs(), getversion_two_rhs(), int_objfprintfMat(), InterfaceScilabToUiSet(), InterfaceWindowsClipboard(), IsAScalar(), OneRhs_gettext(), RandI(), sci_plot2d(), sci_plot2d1_G(), sci_readgif(), sci_readxbm(), sci_xgetmouse(), sci_xs2bmp(), sci_xs2emf(), sci_xtitle(), TCL_UiGet(), and TwoRhs_gettext().

#define hstk ( x   )     (((long long *) C2F(stack).Stk) + x-1 )

Definition at line 148 of file stack-c.h.

Referenced by getHandleFromStack(), sci_addcb(), sci_copy(), sci_delete(), sci_draw(), sci_get(), sci_glue(), sci_move(), sci_newaxes(), sci_relocate_handle(), sci_set(), sci_showalluimenushandles(), sci_StringBox(), sci_swap_handles(), sci_UImenu(), sci_unglue(), sci_unzoom(), sciReturnColHandleVector(), sciReturnHandle(), and sciReturnRowHandleVector().

#define I_CHAR   1

Definition at line 60 of file stack-c.h.

Referenced by __PARAMS(), and intbuildouttb().

#define I_INT16   2

Definition at line 61 of file stack-c.h.

Referenced by __PARAMS(), and intbuildouttb().

#define I_INT32   4

Definition at line 62 of file stack-c.h.

Referenced by __PARAMS(), intbuildouttb(), intcurblkc(), intgetscicosvarsc(), and intlinear_interpn().

#define I_UCHAR   11

Definition at line 63 of file stack-c.h.

Referenced by __PARAMS(), and intbuildouttb().

#define I_UINT16   12

Definition at line 64 of file stack-c.h.

Referenced by __PARAMS(), and intbuildouttb().

#define I_UINT32   14

Definition at line 65 of file stack-c.h.

Referenced by __PARAMS(), and intbuildouttb().

#define iadr ( l   )     ((l)+(l)-1)

Definition at line 121 of file stack-c.h.

Referenced by _PARAMS(), allmat(), allmatset(), C2F(), changetoref(), Check_references(), cmatbptr(), cmatcptr(), cmatptr(), cmatsptr(), connection(), ConvertData(), copysmat(), cre_listsmat_from_str(), cre_listsparse_from_ptr(), cre_smat_from_str_i(), cre_sparse_from_ptr_i(), creadbmat(), creadchain(), creadchains(), creadcmat(), creadmat(), create_index_vector(), createcvar(), createcvarfrom(), createlistcvarfrom(), createlistvarfrom(), createreference(), createreffromname(), createvar(), createvarfrom(), creatework(), crebmati(), credata(), crehmati(), creimati(), crelist_G(), crelistofvoids(), cremati(), creonevoid(), crepointeri(), cresmat4(), CreSmatFromHist(), cresmati(), cresparsei(), crestringi(), crestringmatfromc(), crewimat(), crewmat(), elementtype(), fakecresmat2(), get_hmat(), get_length(), get_length_and_pointer(), get_mat_as_hmat(), get_rhs_real_hmat(), get_rhs_scalar_string(), get_sci_bool_sparse(), getbmati(), GetDataFromName(), gethmati(), getilist(), getimati(), getlengthchain(), getlistrhscvar(), getlistrhsvar(), getmatdims(), getmati(), getpointeri(), getpoly(), getrhscvar(), getrhssys(), getrhsvar(), getsimati(), getsmati(), getsparsei(), gettype(), getwimat(), getwsmati(), inextj(), intscicosimc(), inttree2(), inttree3(), ishm(), isref(), lcrestringmatfromc(), listcrebmat(), listcrehmat(), listcreimat(), listcremat(), listcrepointer(), listcresmat(), listcresparse(), listcrestring(), lmatj(), maxvol(), mexGetArray(), mexGetVariable(), mexGetVariablePtr(), mspcreate(), mvfromto(), mxDuplicateArray(), mxFree(), mxSetFieldByNumber(), Name2ptr(), objptr(), objvide(), ogettype(), overloadtype(), pak_object_info(), pmatj(), putlhsvar(), realmat(), Ref2val(), sci_object_walk(), scibuiltin(), scifunction(), scistring(), setsimat(), setworksize(), smatj(), stackinfo(), stcreate(), str2sci(), and var2sci().

#define IC_CHAR ( x   )     ((char *) (x))

Definition at line 69 of file stack-c.h.

Referenced by __PARAMS(), and intbuildouttb().

#define IC_INT16 ( x   )     ((short int *) (x))

Definition at line 70 of file stack-c.h.

Referenced by __PARAMS(), and intbuildouttb().

#define IC_INT32 ( x   )     ((int *) (x))

Definition at line 71 of file stack-c.h.

Referenced by __PARAMS(), and intbuildouttb().

#define IC_UCHAR ( x   )     ((unsigned char *) (x))

Definition at line 72 of file stack-c.h.

Referenced by __PARAMS(), and intbuildouttb().

#define IC_UINT16 ( x   )     ((unsigned short int *) (x))

Definition at line 73 of file stack-c.h.

Referenced by __PARAMS(), and intbuildouttb().

#define IC_UINT32 ( x   )     ((unsigned int *) (x))

Definition at line 74 of file stack-c.h.

Referenced by __PARAMS(), and intbuildouttb().

#define Infstk ( x   )     (((integer *) C2F(vstk).infstk) + x-1 )

Definition at line 142 of file stack-c.h.

Referenced by cmatbptr(), cmatcptr(), cmatptr(), cmatsptr(), creadbmat(), creadchain(), creadchains(), creadcmat(), creadmat(), firstopt(), getlengthchain(), isoptlw(), mexIsGlobal(), Name2ptr(), numopt(), objptr(), run(), and syncexec().

#define IsOpt ( k,
name   )     C2F(isopt)((c_local=k,&c_local),name,nlgh)

Definition at line 163 of file stack-c.h.

Referenced by get_optionals().

#define istk ( x   )     (((int *) C2F(stack).Stk) + x-1 )

Definition at line 134 of file stack-c.h.

Referenced by __PARAMS(), _PARAMS(), allmat(), allmatset(), badconnection(), bufstore(), C2F(), changetoref(), Check_references(), cmatbptr(), cmatcptr(), cmatptr(), cmatsptr(), connection(), ConvertData(), copysmat(), cre_hmat(), cre_listsmat_from_str(), cre_listsparse_from_ptr(), cre_smat_from_str_i(), cre_sparse_from_ptr_i(), creadbmat(), creadchain(), creadchains(), creadcmat(), creadmat(), create_index_vector(), createcvarfrom(), createlistcvarfrom(), createlistvarfrom(), createlistvarfromptr(), createreference(), createreffromname(), createvarfrom(), createvarfromptr(), crebmati(), credata(), crehmati(), creimati(), crelist_G(), crelistofvoids(), cremati(), creonevoid(), crepointeri(), cresmat(), cresmat1(), cresmat2(), cresmat3(), cresmat4(), CreSmatFromHist(), cresmati(), cresparsei(), crestringi(), crestringmatfromc(), crestringv(), crewimat(), crewmat(), cwritebmat(), cwritechain(), elementtype(), fakecresmat2(), get_colminmax_arg(), get_colout_arg(), get_hmat(), get_length(), get_length_and_pointer(), get_mat_as_hmat(), get_nax_arg(), get_optional_int_arg(), get_rhs_real_hmat(), get_rhs_scalar_string(), get_sci_bool_sparse(), get_style_arg(), get_with_mesh_arg(), getbmati(), GetDataFromName(), getexternal(), gethmati(), getilist(), getimati(), getlengthchain(), getlistrhscvar(), getlistrhsvar(), getmatdims(), getmati(), getonepoly(), getpointeri(), getpoly(), getrhscvar(), getrhssys(), getrhsvar(), GetScalarInt(), getsimati(), getsmati(), getsparsei(), GetString(), gettype(), getwimat(), getwsmati(), inextj(), int_f4(), int_objfscanf(), intbdiagr(), intcpass2(), intcshep2d(), intcurblkc(), intdgetrf(), InterfaceWindowsClipboard(), intex1c(), intex3c(), intex4c_2(), intex4c_4(), intgetscicosvarsc(), intihm(), intlinear_interpn(), intopenxls(), intphasesim(), intscicosimc(), intsetblockerror(), intsetxproperty(), intsmclearerr(), intsmclose(), intsmeof(), intsmerror(), intsmget(), intsmgetstr(), intsmput(), intsmputstr(), intsmseek(), intsmtell(), intsplin3d(), intspvm_addhosts(), intspvm_barrier(), intspvm_bcast(), intspvm_bufinfo(), intspvm_delhosts(), intspvm_error(), intspvm_exit(), intspvm_getinst(), intspvm_gettid(), intspvm_gsize(), intspvm_halt(), intspvm_joingroup(), intspvm_kill(), intspvm_lvgroup(), intspvm_mytid(), intspvm_parent(), intspvm_probe(), intspvm_recv(), intspvm_recv_var(), intspvm_reduce(), intspvm_send(), intspvm_send_var(), intspvm_set_timer(), intspvm_spawn(), intspvm_spawn_independent(), intspvm_start(), intspvm_tasks(), intspvm_tidtohost(), inttree2(), inttree3(), intview(), ishm(), isref(), lasterror(), lcrestringmatfromc(), listcrebmat(), listcrehmat(), listcreimat(), listcremat(), listcrepointer(), listcresmat(), listcresparse(), listcrestring(), lmatj(), mexGetArray(), mexGetVariable(), mexGetVariablePtr(), mspcreate(), mvfromto(), mxCreateCharMatrixFromStrings(), mxcreatestring(), mxDuplicateArray(), mxFree(), mxSetFieldByNumber(), Name2ptr(), objptr(), objvide(), ogettype(), overloadtype(), pak_object_info(), pmatj(), putlhsvar(), RandI(), realmat(), Ref2val(), reshape_hmat(), sci_addcb(), sci_clc(), sci_contour2di(), sci_drawaxis(), sci_glue(), sci_legendre(), sci_object_walk(), sci_raise_window(), sci_set_posfig_dim(), sci_winsid(), sci_xarc(), sci_xarcs(), sci_xarrows(), sci_xaxis(), sci_xchange(), sci_xfarcs(), sci_xfpolys(), sci_xgetmouse(), sci_xpolys(), sci_xrects(), sci_xs2bmp(), sci_xs2emf(), sci_xsegs(), sci_xsort(), sci_xstringl(), sci_xtitle(), scibuiltin(), scifunction(), sciReturnInt(), sciReturnRowIntVector(), scistring(), setsimat(), setworksize(), smatj(), stackinfo(), stcreate(), str2sci(), var2sci(), and XClearScreenConsole().

#define Leps_sci   *stk(C2F(vstk).leps)

Definition at line 131 of file stack-c.h.

#define Lhs   C2F(com).lhs

Definition at line 128 of file stack-c.h.

Referenced by __PARAMS(), C2F(), getversion_no_rhs(), handle_onprompt(), initmex(), int_objfscanfMat(), intbdiagr(), intdgeesx(), intdgesvd(), intdsyev(), inteval_cshep2d(), intinterp2d(), intinterp3d(), intscicosimc(), intspvm_bufinfo(), intzgeesx(), lasterror(), parse(), putlhsvar(), RandI(), run(), sci_xclick(), sci_xgetech(), sci_xgetmouse(), sci_xgraduate(), sci_xsort(), scibuiltin(), scifunction(), sciops(), scirun(), and syncexec().

#define LhsVar ( x   )     C2F(intersci).lhsvar[x-1]

Definition at line 297 of file stack-c.h.

Referenced by __PARAMS(), _PARAMS(), C2F(), CdfBase(), empty(), endmex(), ext14cI(), getversion_no_rhs(), getversion_one_rhs(), getversion_two_rhs(), int_f4(), int_objfprintfMat(), int_objfscanfMat(), int_objnumTokens(), int_objsprintf(), intbdiagr(), intbsplin3val(), intcpass2(), intcshep2d(), intcurblkc(), intdgeesx(), intdgesvd(), intdgetrf(), intdiffobjs(), intdlassq(), intdsyev(), intduplicate(), intehm(), InterfaceWindowsClipboard(), inteval_cshep2d(), intex10c(), intex11c(), intex13c(), intex14c(), intex15c(), intex16c(), intex17c(), intex1c(), intex2c(), intex3c(), intex4c_2(), intex4c_3(), intex4c_4(), intex5c(), intex6c(), intex7c(), intex8c(), intex9c(), intgetscicosvarsc(), intinterp1(), intinterp2d(), intinterp3d(), intlsq_splin(), intmatmul(), intopenxls(), intphasesim(), intreadxls(), intscicosimc(), intsetblockerror(), intsetxproperty(), intsmclearerr(), intsmclose(), intsmeof(), intsmerror(), intsmget(), intsmgetstr(), intsmput(), intsmputstr(), intsmseek(), intsmtell(), intsplin(), intsplin2d(), intsplin3d(), intspvm_addhosts(), intspvm_barrier(), intspvm_bcast(), intspvm_bufinfo(), intspvm_config(), intspvm_delhosts(), intspvm_error(), intspvm_error_mode(), intspvm_exit(), intspvm_f772sci(), intspvm_get_timer(), intspvm_getinst(), intspvm_gettid(), intspvm_gsize(), intspvm_halt(), intspvm_joingroup(), intspvm_kill(), intspvm_lvgroup(), intspvm_mytid(), intspvm_parent(), intspvm_probe(), intspvm_recv(), intspvm_recv_var(), intspvm_reduce(), intspvm_sci2f77(), intspvm_send(), intspvm_send_var(), intspvm_set_timer(), intspvm_spawn(), intspvm_spawn_independent(), intspvm_start(), intspvm_tasks(), intspvm_tidtohost(), inttimescicos(), inttree2(), inttree3(), intview(), intxproperty(), intzgeesx(), intzgemm(), lasterror(), NoRhs(), OneLhs(), OneRhs_gettext(), putlhsvar(), RandI(), ReturnValueSetenv(), sci_addcb(), sci_besselh(), sci_besseli(), sci_besselj(), sci_besselk(), sci_bessely(), sci_beta(), sci_champ_G(), sci_clc(), sci_contour2di(), sci_copy(), sci_delete(), sci_demo(), sci_draw(), sci_drawaxis(), sci_drawlater(), sci_drawnow(), sci_driver(), sci_fec(), sci_geom3d(), sci_get(), sci_glue(), sci_grayplot(), sci_help_gtk(), sci_legendre(), sci_matplot(), sci_matplot1(), sci_move(), sci_newaxes(), sci_param3d(), sci_param3d1(), sci_plot2d(), sci_plot2d1_G(), sci_plot3d(), sci_raise_window(), sci_readgif(), sci_readxbm(), sci_relocate_handle(), sci_set(), sci_set_posfig_dim(), sci_seteventhandler(), sci_show_window(), sci_showalluimenushandles(), sci_StringBox(), sci_swap_handles(), sci_UImenu(), sci_unglue(), sci_unzoom(), sci_winsid(), sci_xarc(), sci_xarcs(), sci_xarrows(), sci_xaxis(), sci_xchange(), sci_xclea(), sci_xclear(), sci_xclick(), sci_xdel(), sci_xend(), sci_xfarcs(), sci_xfpoly(), sci_xfpolys(), sci_xget(), sci_xgetech(), sci_xgetmouse(), sci_xgraduate(), sci_xgrid(), sci_xinit(), sci_xlfont(), sci_xname(), sci_xpoly(), sci_xpolys(), sci_xrect(), sci_xrects(), sci_xsegs(), sci_xset(), sci_xsetech(), sci_xsnative(), sci_xsort(), sci_xstring(), sci_xstringb(), sci_xstringl(), sci_xtitle(), sci_zoom_rect(), sciExecCallback(), TwoLhs(), TwoRhs_gettext(), and xs2file().

#define Lstk ( x   )     (((integer *) C2F(vstk).lstk) + x-1 )

Definition at line 141 of file stack-c.h.

Referenced by allmat(), allmatset(), arr2num(), arr2numcst(), C2F(), changetoref(), Check_references(), cmatbptr(), cmatcptr(), cmatptr(), cmatsptr(), connection(), copyobj(), copysmat(), CopyVarFromlistentry(), copyvarfromsciptr(), cre_listsmat_from_str(), cre_listsparse_from_ptr(), cre_smat_from_str(), cre_smat_from_str_i(), cre_sparse_from_ptr(), cre_sparse_from_ptr_i(), creadbmat(), creadchain(), creadchains(), creadcmat(), creadmat(), create_index_vector(), createcvar(), createcvarfrom(), createdata(), createlist(), createreference(), createreffromname(), createvar(), createvarfrom(), createvarfromptr(), creatework(), crebmat(), crebmati(), credata(), crehmat(), crehmati(), creimat(), creimati(), crelist_G(), cremat(), cremati(), crepointer(), crepointeri(), cresmat(), cresmat1(), cresmat2(), cresmat3(), cresmat4(), CreSmatFromHist(), cresmati(), cresparse(), cresparsei(), crestring(), crestringi(), crestringmatfromc(), crewimat(), crewmat(), elementtype(), fakecrebmat(), fakecremat(), fakecresmat2(), get_hmat(), get_length(), get_length_and_pointer(), get_mat_as_hmat(), get_rhs_real_hmat(), get_rhs_scalar_string(), get_sci_bool_sparse(), getbmat(), GetData(), GetDataFromName(), GetDataSize(), gethmat(), getilist(), getimat(), getlengthchain(), getmat(), getmatdims(), getpointer(), getpoly(), GetRawData(), getrhscvar(), getrhsvar(), getsimat(), getsmat(), getsparse(), gettype(), getvectcol(), getvectrow(), getwimat(), getwsmat(), handle_onprompt(), inextj(), intdiffobjs(), intscicosimc(), ishm(), isref(), lcrestringmatfromc(), listcrebmat(), listcrehmat(), listcreimat(), listcremat(), listcrepointer(), listcresmat(), listcresparse(), listcrestring(), lmatj(), maxvol(), mexGetArray(), mexGetVariable(), mexGetVariablePtr(), mspcreate(), mvfromto(), mxSetFieldByNumber(), Name2ptr(), Name2where(), numberandsize(), objptr(), objvide(), ogettype(), overloadtype(), pak_object_info(), parse(), pmatj(), putlhsvar(), realmat(), Ref2val(), run(), sci_besselh(), sci_besseli(), sci_besselj(), sci_besselk(), sci_bessely(), sci_object_walk(), sciblk4(), scibuiltin(), scifunction(), scistring(), setsimat(), setworksize(), smatj(), stackinfo(), stcreate(), str2sci(), syncexec(), UnrefStruct(), var2sci(), and vcopyobj().

#define Maxvol ( n,
ct   )     C2F(maxvol)((c_local=n,&c_local),ct,1L)

Definition at line 165 of file stack-c.h.

Referenced by intdgeesx(), intdgesvd(), and intzgeesx().

#define Nbvars   C2F(intersci).nbvars

Definition at line 295 of file stack-c.h.

Referenced by __PARAMS(), arr2num(), arr2numcst(), C2F(), cdfchnI(), clear_mex(), createcvar(), createcvarfrom(), createcvarfromptr(), createdata(), createlist(), createptr(), createstkptr(), createvar(), createvarfrom(), createvarfromptr(), creatework(), CreSmatFromHist(), cwritebmat(), cwritechain(), cwritecmat(), cwritemat(), endmex(), ext14cI(), get_hmat(), get_mat_as_hmat(), get_rhs_real_hmat(), get_rhs_scalar_string(), get_sci_bool_sparse(), get_style_arg(), getlistrhscvar(), getlistrhsvar(), getrhscvar(), getrhsvar(), initmex(), int_objfprintfMat(), int_objfscanf(), int_objfscanfMat(), int_objnumTokens(), int_objsprintf(), intersci_pop(), intersci_push(), intscicosimc(), intsmclearerr(), intsmclose(), intsmeof(), intsmerror(), intsmget(), intsmgetstr(), intsmput(), intsmputstr(), intsmseek(), intsmtell(), mexCallSCI(), mexCheck(), mexGetArray(), mexGetVariable(), mexGetVariablePtr(), mexInfo(), mxCreateCellArray(), mxCreateCharArray(), mxCreateCharMatrixFromStrings(), mxCreateData(), mxCreateLogicalMatrix(), mxCreateNumericArray(), mxCreateNumericMatrix(), mxCreateSparse(), mxcreatestring(), mxCreateString(), mxCreateStructArray(), mxCreateStructMatrix(), mxDuplicateArray(), mxFree(), mxFreeMatrix(), mxGetCell(), mxGetField(), mxGetFieldByNumber(), mxSetM(), mxSetN(), mxSetNzmax(), numberandsize(), putlhsvar(), RandI(), sci_demo(), and setworksize().

 
#define NumOpt (  )     C2F(numopt)()

Definition at line 161 of file stack-c.h.

Referenced by get_optionals(), intex2c(), sci_drawaxis(), and sci_xsetech().

#define OverLoad ( n   )     C2F(overload)((c_local = n +Top - Rhs, &c_local),fname,strlen(fname))

Definition at line 185 of file stack-c.h.

Referenced by __PARAMS(), C2F(), int_objsprintf(), sci_param3d1(), and sci_plot3d().

#define PExecSciFunction ( n,
mx,
nx,
lx,
name,
fsqpenv   ) 

Value:

if(! C2F(scifunction)((c_local=n,&c_local),mx,nx,lx))\
{ sciprint("Error in function %s\r\n",name);  longjmp(fsqpenv,-1); }
used for protecting a call to a Scilab function

Definition at line 291 of file stack-c.h.

Referenced by sciex17c().

 
#define PutLhsVar (  )     if (! C2F(putlhsvar)()) { return 0; }

Definition at line 212 of file stack-c.h.

Referenced by __PARAMS(), C2F(), CdfBase(), empty(), ext14cI(), getversion_one_rhs(), int_objfprintfMat(), int_objfscanfMat(), int_objnumTokens(), int_objsprintf(), intbsplin3val(), intcshep2d(), intehm(), inteval_cshep2d(), intinterp1(), intinterp2d(), intinterp3d(), intlsq_splin(), intsmclearerr(), intsmclose(), intsmeof(), intsmerror(), intsmget(), intsmgetstr(), intsmput(), intsmputstr(), intsmseek(), intsmtell(), intsplin(), intsplin2d(), intsplin3d(), and RandI().

#define PutVar ( num,
nam   )     if (! C2F(putvar)( (c_local=num, &c_local), nam, strlen(nam) )) { return 0; }

Definition at line 218 of file stack-c.h.

Referenced by mexPutVariable().

#define ReadMatrix ( ct,
mx,
nx,
w   )     if (! C2F(creadmat)(ct,mx,nx,w,(unsigned long)strlen(ct) )) { return 0; }

Definition at line 214 of file stack-c.h.

Referenced by example1(), ext11c(), ext5c(), ext6c(), premier_exemple(), and SendScilabJob().

#define ReadString ( ct,
mx,
w   )     if (! C2F(creadchain)(ct,mx,w,strlen(ct),strlen(w) )) { return 0; }

Definition at line 220 of file stack-c.h.

Referenced by ext4c(), and intex15c().

#define Rhs   C2F(com).rhs

Definition at line 127 of file stack-c.h.

Referenced by __PARAMS(), _PARAMS(), addColVectorToReturnedList(), addMatrixToReturnedList(), addRowVectorToReturnedList(), addStringColVectorToReturnedList(), adjustrhs(), allmat(), arr2num(), arr2numcst(), C2F(), CdfBase(), changetoref(), Check_references(), clear_mex(), connection(), convert2sci(), CopyVarFromlistentry(), copyvarfromsciptr(), create_index_vector(), createcvar(), createcvarfrom(), createcvarfromptr(), createdata(), createlist(), createlistcvarfrom(), createlistcvarfromptr(), createlistvarfrom(), createlistvarfromptr(), createptr(), createreference(), createReturnedList(), createvar(), createvarfrom(), createvarfromptr(), creatework(), CreSmatFromHist(), cwritebmat(), cwritechain(), cwritecmat(), cwritemat(), elementtype(), endmex(), firstopt(), get_hmat(), get_length(), get_length_and_pointer(), get_mat_as_hmat(), get_optionals(), get_rhs_real_hmat(), get_rhs_scalar_string(), get_sci_bool_sparse(), get_style_arg(), getbmati(), getcmat(), GetData(), GetDataSize(), getexternal(), gethmati(), getilist(), getimati(), getlistbmat(), getlisthmat(), getlistimat(), getlistpointer(), getlistrhscvar(), getlistrhsvar(), getlistscalar(), getlistsimat(), getlistsmat(), getlistsparse(), getlistvect(), getlistvectcol(), getlistvectrow(), getlistwsmat(), getmatdims(), getmati(), getpointeri(), getpoly(), GetRawData(), getrhscvar(), getrhsvar(), getrmat(), getrsparse(), getrvect(), getscalar(), getsmati(), getsparsei(), GetString(), getvect(), getvectcol(), getvectrow(), getwimat(), getwsmati(), gw_arnoldi(), gw_core(), gw_cscicos(), gw_fftw(), gw_fileio(), gw_graphics(), gw_gui(), gw_interpolation(), gw_io(), gw_linear_algebra(), gw_localization(), gw_metanet(), gw_optim(), gw_pvm(), gw_randlib(), gw_scicos(), gw_sound(), gw_special_functions1(), gw_special_functions2(), gw_statistics(), gw_symbolic(), gw_tclsci(), gw_time(), gw_user(), gw_wintools(), gwdatastructures1(), gwdatastructures2(), handle_onprompt(), initmex(), int_objfprintfMat(), int_objfscanf(), int_objfscanfMat(), int_objsprintf(), intbdiagr(), intbsplin3val(), intdgesvd(), intdiffobjs(), intdlassq(), intehm(), InterfaceWindowsClipboard(), intex2c(), intgetscicosvarsc(), intihm(), intinterp1(), intinterp2d(), intinterp3d(), intlinear_interpn(), intlsq_splin(), intopenxls(), intreadxls(), intscicosimc(), intsmclearerr(), intsmclose(), intsmeof(), intsmerror(), intsmget(), intsmgetstr(), intsmput(), intsmputstr(), intsmseek(), intsmtell(), intsplin(), intsplin2d(), intsplin3d(), intspvm_bcast(), intspvm_error_mode(), intspvm_send(), intspvm_spawn(), intspvm_spawn_independent(), intspvm_start(), intspvm_tasks(), isopt(), isref(), lasterror(), libtst(), matbsize(), matsize(), maxvol(), mexCallSCI(), mklistfromvars(), mkmlistfromvars(), mktlistfromvars(), mspcreate(), mvfromto(), mxCreateCellArray(), mxCreateCharArray(), mxCreateCharMatrixFromStrings(), mxCreateNumericArray(), mxCreateNumericMatrix(), mxCreateSparse(), mxcreatestring(), mxCreateString(), mxCreateStructArray(), mxCreateStructMatrix(), mxDuplicateArray(), mxFreeMatrix(), mxGetCell(), mxGetField(), mxGetFieldByNumber(), mxSetFieldByNumber(), numberandsize(), numopt(), objvide(), OneLhs(), OneRhs_gettext(), optvarget(), parse(), putlhsvar(), putvar(), RandI(), Ref2val(), run(), sci_besselh(), sci_besseli(), sci_besselj(), sci_besselk(), sci_bessely(), sci_champ_G(), sci_clc(), sci_contour2di(), sci_copy(), sci_delete(), sci_draw(), sci_drawlater(), sci_drawnow(), sci_driver(), sci_fec(), sci_geom3d(), sci_get(), sci_glue(), sci_grayplot(), sci_legendre(), sci_matplot(), sci_matplot1(), sci_move(), sci_newaxes(), sci_param3d(), sci_param3d1(), sci_plot2d(), sci_plot2d1_G(), sci_plot3d(), sci_raise_window(), sci_readgif(), sci_readxbm(), sci_relocate_handle(), sci_set(), sci_seteventhandler(), sci_show_window(), sci_StringBox(), sci_UImenu(), sci_unglue(), sci_unzoom(), sci_xarcs(), sci_xarrows(), sci_xclea(), sci_xclear(), sci_xclick(), sci_xdel(), sci_xfarcs(), sci_xfpoly(), sci_xfpolys(), sci_xget(), sci_xgetmouse(), sci_xgrid(), sci_xinit(), sci_xlfont(), sci_xpoly(), sci_xpolys(), sci_xrect(), sci_xrects(), sci_xsegs(), sci_xset(), sci_xsetech(), sci_xsort(), sci_xstring(), sci_xstringb(), sci_xstringl(), sci_xtitle(), sci_zoom_rect(), scibuiltin(), scifunction(), sciops(), sciReturnChar(), sciReturnColHandleVector(), sciReturnDouble(), sciReturnEmptyMatrix(), sciReturnHandle(), sciReturnInt(), sciReturnMatrix(), sciReturnRowHandleVector(), sciReturnRowIntVector(), sciReturnRowVector(), sciReturnRowVectorFromInt(), sciReturnString(), sciReturnStringMatrix(), sciReturnUserData(), scirun(), scistring(), setworksize(), stcreate(), syncexec(), TCL_UiGet(), TwoLhs(), UnrefStruct(), vartype(), vectsize(), XClearScreenConsole(), and xs2file().

#define sadr ( l   )     (((l)/2)+1)

Definition at line 122 of file stack-c.h.

Referenced by C2F(), connection(), cre_listsmat_from_str(), cre_listsparse_from_ptr(), cre_smat_from_str_i(), cre_sparse_from_ptr_i(), create_index_vector(), createvar(), creatework(), crebmat(), crehmati(), creimat(), creimati(), crelist_G(), crelistofvoids(), cremati(), creonevoid(), crepointeri(), cresmat(), cresmat1(), cresmat2(), cresmat3(), cresmat4(), CreSmatFromHist(), cresmati(), cresparsei(), crestring(), crestringi(), crestringmatfromc(), crewimat(), crewmat(), elementtype(), fakecrebmat(), fakecresmat2(), get_hmat(), get_mat_as_hmat(), get_rhs_real_hmat(), gethmati(), getilist(), getlistrhsvar(), getmati(), getpointeri(), getpoly(), getrhssys(), getrhsvar(), getsparsei(), inextj(), intscicosimc(), ishm(), lcrestringmatfromc(), listcrebmat(), listcrehmat(), listcreimat(), listcremat(), listcrepointer(), listcresmat(), listcresparse(), listcrestring(), lmatj(), maxvol(), mspcreate(), mxSetNzmax(), pak_object_info(), pmatj(), realmat(), sci_object_walk(), smatj(), stackinfo(), stcreate(), str2sci(), and var2sci().

#define SciFunction ( ibegin,
lf,
mlhs,
mrhs   )     if( ! C2F(scifunction)(ibegin,lf,mlhs,mrhs)) return 0;

Used for calling a scilab function given as argument

Definition at line 286 of file stack-c.h.

Referenced by intex8c().

#define SciString ( ibegin,
name,
mlhs,
mrhs   )     if( ! C2F(scistring)(ibegin,name,mlhs,mrhs,(unsigned long)strlen(name))) return 0;

Used for calling a scilab function by its name

Definition at line 281 of file stack-c.h.

Referenced by badconnection(), C2F(), connection(), intex11c(), intex7c(), String1::main(), Exemple8::main(), Exemple4::main(), Message(), sci_demo(), and sciExecCallback().

#define SetWorkSize ( n,
mx   ) 

Value:

if(! C2F(setworksize)((c_local=n,&c_local),mx))\
        { return 0;  }

Definition at line 196 of file stack-c.h.

Referenced by intspvm_recv(), and sciReturnUserData().

#define sstk ( x   )     (((float *) C2F(stack).Stk) + x-1 )

Definition at line 135 of file stack-c.h.

Referenced by ConvertData(), createcvarfrom(), createlistcvarfrom(), createlistvarfrom(), createvarfrom(), createvarfromptr(), getlistrhscvar(), getlistrhsvar(), getrhscvar(), getrhsvar(), and intex1c().

#define stk ( x   )     ( C2F(stack).Stk + x-1 )

Definition at line 133 of file stack-c.h.

Referenced by __PARAMS(), C2F(), CdfBase(), check_xy(), CMatrix::CMatrix(), connection(), ConvertData(), copyobj(), CopyVarFromlistentry(), copyvarfromsciptr(), cre_hmat(), cre_sparse_from_ptr_i(), creadcmat(), creadmat(), create_index_vector(), createcvarfrom(), createcvarfromptr(), createlistcvarfrom(), createlistcvarfromptr(), createlistvarfrom(), createlistvarfromptr(), createstkptr(), createvarfrom(), createvarfromptr(), crestringmatfromc(), crestringv(), cwritecmat(), cwritemat(), empty(), ext12c(), ext14cI(), ext8c(), get_hmat(), get_mat_as_hmat(), get_optional_double_arg(), get_rect_arg(), get_rhs_real_hmat(), get_zminmax_arg(), GetData(), GetDataSize(), getDoubleFromStack(), getDoubleMatrixFromStack(), getlistrhscvar(), getlistrhsvar(), GetRawData(), getrhscvar(), getrhssys(), getrhsvar(), GetScalarDouble(), Header(), initmex(), insmat(), int_objfprintfMat(), int_objfscanfMat(), int_objnumTokens(), intbdiagr(), intbsplin3val(), intbuildouttb(), intcshep2d(), intdgeesx(), intdgesvd(), intdgetrf(), intdiffobjs(), intdlassq(), intdsyev(), intduplicate(), InterfaceScilabToUiSet(), inteval_cshep2d(), intex10c(), intex13c(), intex17c(), intex1c(), intex2c(), intex4c_4(), intex8c(), intgetscicosvarsc(), intinterp1(), intinterp2d(), intinterp3d(), intlinear_interpn(), intlsq_splin(), intmatmul(), intopenxls(), intreadxls(), intsmclose(), intsmeof(), intsmerror(), intsmget(), intsmput(), intsmputstr(), intsmtell(), intsplin(), intsplin2d(), intsplin3d(), intspvm_bcast(), intspvm_get_timer(), intspvm_recv(), intspvm_reduce(), intspvm_send(), inttimescicos(), intview(), intzgeesx(), CMatrix::inv(), lasterror(), lcrestringmatfromc(), lmatj(), Matrix2String(), mspcreate(), mvfromto(), mxCreateCellArray(), mxDuplicateArray(), mxFree(), mxgetm(), mxgetn(), mxgetpi(), mxgetpr(), mxgetscalar(), mxgetstring(), mxiscomplex(), mxisfull(), mxisnumeric(), mxissparse(), mxisstring(), my_job(), my_plot(), Name2ptr(), CMatrix::plus(), pmatj(), RandI(), sci_besselh(), sci_besseli(), sci_besselj(), sci_besselk(), sci_bessely(), sci_beta(), sci_champ_G(), sci_contour2di(), sci_drawaxis(), sci_fec(), sci_geom3d(), sci_glue(), sci_grayplot(), sci_legendre(), sci_matplot(), sci_matplot1(), sci_move(), sci_object_walk(), sci_param3d(), sci_param3d1(), sci_plot2d(), sci_plot2d1_G(), sci_plot3d(), sci_StringBox(), sci_xarc(), sci_xarcs(), sci_xarrows(), sci_xaxis(), sci_xchange(), sci_xclea(), sci_xclear(), sci_xclick(), sci_xdel(), sci_xfarcs(), sci_xfpoly(), sci_xfpolys(), sci_xget(), sci_xgetech(), sci_xgetmouse(), sci_xgraduate(), sci_xgrid(), sci_xlfont(), sci_xpoly(), sci_xpolys(), sci_xrect(), sci_xrects(), sci_xsegs(), sci_xset(), sci_xsetech(), sci_xsort(), sci_xstring(), sci_xstringb(), sci_xstringl(), sci_zoom_rect(), sciblk4(), sciex17c(), scipvmrecvvar(), scipvmsendvar(), sciReturnDouble(), sciReturnMatrix(), sciReturnRowVector(), sciReturnRowVectorFromInt(), SetVarMatrix(), stackinfo(), UnrefStruct(), var2sci(), vcopyobj(), and xs2file().

#define Top   C2F(vstk).top

Definition at line 125 of file stack-c.h.

#define TRUE_   1

Definition at line 118 of file stack-c.h.

#define VarPtr ( x   )     C2F(intersci).lad[x-1]

Definition at line 304 of file stack-c.h.

Referenced by intex4c_2(), and intex4c_4().

#define VarType ( n   )     C2F(vartype)((c_local=n,&c_local))

Definition at line 182 of file stack-c.h.

Referenced by __PARAMS(), get_colminmax_arg(), get_colout_arg(), get_labels_arg(), get_legend_arg(), get_logflags_arg(), get_nax_arg(), get_optional_double_arg(), get_optional_int_arg(), get_rect_arg(), get_strf_arg(), get_style_arg(), get_with_mesh_arg(), get_zminmax_arg(), int_objsprintf(), intbuildouttb(), sci_addcb(), sci_delete(), sci_get(), sci_param3d1(), sci_plot3d(), sci_set(), sci_show_window(), sci_showalluimenushandles(), sci_StringBox(), sci_UImenu(), sci_xset(), and sci_xsort().

#define WriteMatrix ( ct,
mx,
nx,
w   )     if (! C2F(cwritemat)(ct,mx,nx,w,strlen(ct) )) { return 0; }

Definition at line 216 of file stack-c.h.

Referenced by example1(), ext7c(), intex14c(), my_job(), my_ode_job(), and premier_exemple().

#define WriteString ( ct,
mx,
w   )     if (! C2F(cwritechain)(ct,mx,w,strlen(ct),strlen(w) )) { return 0; }

Definition at line 222 of file stack-c.h.

Referenced by ext7c(), and intex16c().

#define zstk ( x   )     (((doublecomplex *) C2F(stack).Stk) + x-1 )

Definition at line 138 of file stack-c.h.

Referenced by C2F(), ConvertData(), intzgeesx(), and intzgemm().


Typedef Documentation

typedef int interfun __PARAMS((char *fname, unsigned long l))

Definition at line 306 of file stack-c.h.

typedef struct rhs_opts__ rhs_opts

typedef struct sciintmat SciIntMat

sciintmat

typedef struct scisparse SciSparse

Structure used for sparse matrix

typedef struct tagTabF TabF


Enumeration Type Documentation

enum sci_types

Enumerator:
sci_matrix 
sci_poly 
sci_boolean 
sci_sparse 
sci_boolean_sparse 
sci_ints 
sci_handles 
sci_strings 
sci_u_function 
sci_c_function 
sci_lib 
sci_list 
sci_tlist 
sci_mlist 

Definition at line 22 of file stack-c.h.

00022              {
00023   sci_matrix= 1 ,
00024   sci_poly= 2 ,
00025   sci_boolean= 4 ,
00026   sci_sparse= 5  ,
00027   sci_boolean_sparse= 6,
00028   sci_ints= 8,
00029   sci_handles=9,
00030   sci_strings= 10,
00031   sci_u_function= 11,
00032   sci_c_function= 13 ,
00033   sci_lib=  14,
00034   sci_list= 15,
00035   sci_tlist= 16,
00036   sci_mlist= 17
00037 } sci_types; 


Function Documentation

int get_optionals __PARAMS ( (char *name, rhs_opts opts[])   ) 

void* GetFuncPtr __PARAMS ( (char *, int, void *, void(*f)(), int *, int *, int *)   ) 

void C2F ( freeptr   ) 

int C2F ( checklhs   ) 

int C2F ( checkrhs   ) 

int C2F ( gettype   ) 

int C2F ( isopt   ) 

int rhs_opts* int C2F ( numopt   ) 

int C2F ( findopt   ) 

int C2F ( firstopt   ) 

int C2F ( error   ) 

Definition at line 21 of file callinterf.c.

00040 {
00041   sciprint("TclSci interface not loaded \n");
00042   C2F(error)(&c_local_interf);
00043   return;
00044 }

static void initial_c1_local ( void   )  [static]

Definition at line 111 of file stack-c.h.

References c1_local, and initial_c_local().

Referenced by initial_c_local().

00112 {
00113         initial_c_local();
00114         c1_local=0;
00115 }

Here is the call graph for this function:

Here is the caller graph for this function:

static void initial_c_local ( void   )  [static]

Definition at line 104 of file stack-c.h.

References c_local, and initial_c1_local().

Referenced by initial_c1_local().

00105 {
00106         initial_c1_local();
00107         c_local=0;
00108 }

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

int c1_local = 0 [static]

Definition at line 96 of file stack-c.h.

Referenced by initial_c1_local().

int c_local = 0 [static]

Definition at line 97 of file stack-c.h.

Referenced by initial_c_local().

int integer integer unsigned long fname_len

Definition at line 364 of file stack-c.h.

int integer integer unsigned long fname_len

Definition at line 363 of file stack-c.h.

int integer integer* imax

Definition at line 364 of file stack-c.h.

int integer integer* imax

Definition at line 363 of file stack-c.h.

int integer* imin

Definition at line 364 of file stack-c.h.

int integer* imin

Definition at line 363 of file stack-c.h.

int char unsigned long

Definition at line 360 of file stack-c.h.

Referenced by _GetSelection(), C2F(), ConstructCompound(), cresmatvar(), default_allocation(), ExecuteCommand(), gdImageArc(), getfilenamehistory(), GetGC(), GIFEncode(), graphicsmodels(), gw_arnoldi(), gw_cscicos(), gw_fftw(), gw_localization(), gw_metanet(), gw_scicos(), gw_sound(), gw_tclsci(), gw_time(), I3dRotation(), intcpass2(), is_a_valid_size_for_scilab_stack(), lbit_bits(), lbit_cshift(), lufact1(), MarkowitzProducts(), Merge3dBuildTable(), mputi(), qbit_cshift(), rawread(), rblong(), readc(), readonly_map(), realtime(), rllong(), savewave(), sci_addcb(), sci_copy(), sci_delete(), Sci_dlopen(), sci_draw(), sci_get(), sci_move(), sci_set(), sci_unglue(), sci_xload(), sci_xsave(), sciAddNewHandle(), sciSetName(), set_initial_seed_clcg4(), set_seed_clcg4(), set_state_clcg2(), set_state_fsultra(), set_state_fsultra_simple(), set_state_kiss(), set_state_mt_simple(), set_state_urand(), str2sci(), TIME2ULL(), UpdateMarkowitzNumbers(), UpdateSubwinScale(), VJump(), wr_array_init(), and XmuCvtStringToLong().


Generated on Sun Mar 4 15:13:35 2007 for Scilab [trunk] by  doxygen 1.5.1