lsqrsolvtable.c

Go to the documentation of this file.
00001 /*-----------------------------------------------------------------------------------*/
00002 /* INRIA */
00003 /*-----------------------------------------------------------------------------------*/
00004 #include "FTables.h"
00005 /***********************************
00006 * Search Table for lsqrsolve 
00007 ***********************************/
00008 
00009 #define ARGS_lsqrsolvf integer*,integer*,double *,double*,integer*
00010 typedef void (*lsqrsolvff)(ARGS_lsqrsolvf);
00011 
00012 #define ARGS_lsqrsolvj integer*,integer*,double*,double*,integer*,integer*
00013 typedef void (*lsqrsolvjf)(ARGS_lsqrsolvj);
00014 
00015 /**************** lsqrsolvf ***************/
00016 extern void C2F(lsqrsol1)(ARGS_lsqrsolvf);
00017 void C2F(lsqrsolvf)(ARGS_lsqrsolvf);
00018 void C2F(setlsqrsolvf)(char *name, int *rep);
00019 
00020 
00021 FTAB FTab_lsqrsolvf[] =
00022 {
00023 {"lsqrsol1", (voidf)  C2F(lsqrsol1)},
00024 {(char *) 0, (voidf) 0}
00025 };
00026 /**************** lsqrsolvj ***************/
00027 extern void C2F(lsqrsolj1)(ARGS_lsqrsolvj);
00028 void C2F(lsqrsolvj)(ARGS_lsqrsolvj);
00029 void C2F(setlsqrsolvj)(char *name, int *rep);
00030 
00031 FTAB FTab_lsqrsolvj[] ={
00032 {"lsqrsolj1", (voidf)  C2F(lsqrsolj1)},
00033 {(char *) 0, (voidf) 0}
00034 };
00035 
00036 /***********************************
00037 * Search Table for fsolve 
00038 *    uses : lsqrsolvf and lsqrsolvj 
00039 ***********************************/
00040 
00043 static lsqrsolvff lsqrsolvffonc ;
00044 
00047 void C2F(lsqrsolvf)(integer *m, integer *n, double *x, double *fvec, integer *iflag)
00048 {
00049         (*lsqrsolvffonc)(m,n,x,fvec,iflag);
00050 }
00051 
00054 void C2F(setlsqrsolvf)(char *name, int *rep)
00055 {
00056         lsqrsolvffonc = (lsqrsolvff) SetFunction(name,rep,FTab_lsqrsolvf);
00057 }
00058 
00061 static lsqrsolvjf lsqrsolvjfonc ;
00062 
00065 void C2F(lsqrsolvj)(integer *m, integer *n, double *x, double *fjac, integer *ldfjac, integer *iflag)
00066 {
00067         (*lsqrsolvjfonc)(m,n,x,fjac,ldfjac,iflag);
00068 }
00069 
00072 void C2F(setlsqrsolvj)(char *name, int *rep)
00073 {
00074         lsqrsolvjfonc = (lsqrsolvjf) SetFunction(name,rep,FTab_lsqrsolvj);
00075 }

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