@@ -233,43 +233,43 @@ Edagpars {
233233 int want_derivs_ ;
234234 int ihd_limit_ ;
235235 int solve_code_ ;
236- real (* Objval ) (EvalWorkspace * ,int nobj , real * X , fint * nerror );
237- real (* Objval_nomap ) (EvalWorkspace * ,int nobj , real * X , fint * nerror );
238- void (* Objgrd ) (EvalWorkspace * ,int nobj , real * X , real * G , fint * nerror );
239- void (* Objgrd_nomap ) (EvalWorkspace * ,int nobj , real * X , real * G , fint * nerror );
240- void (* Conval ) (EvalWorkspace * ,real * X , real * R , fint * nerror );
241- void (* Jacval ) (EvalWorkspace * ,real * X , real * J , fint * nerror );
242- real (* Conival ) (EvalWorkspace * ,int ncon , real * X , fint * nerror );
243- real (* Conival_nomap ) (EvalWorkspace * ,int ncon , real * X , fint * nerror );
244- void (* Congrd ) (EvalWorkspace * ,int nc , real * X , real * G , fint * nerror );
245- void (* Congrd_nomap ) (EvalWorkspace * ,int nc , real * X , real * G , fint * nerror );
246- void (* Hvcomp ) (EvalWorkspace * ,real * hv , real * p , int no , real * ow , real * y );
247- void (* Hvcomp_nomap ) (EvalWorkspace * ,real * hv , real * p , int no , real * ow , real * y );
248- void (* Hvcompe ) (EvalWorkspace * ,real * hv , real * p , int no , real * ow , real * y , fint * );
249- void (* Hvcompe_nomap ) (EvalWorkspace * ,real * hv , real * p , int no , real * ow , real * y , fint * );
250- void (* Hvcompd ) (EvalWorkspace * ,real * hv , real * p , int co );
251- void (* Hvcompde ) (EvalWorkspace * ,real * hv , real * p , int co , fint * );
252- varno_t (* Hvcomps ) (EvalWorkspace * ,real * hv , real * p , int co , varno_t nz , varno_t * z );
253- varno_t (* Hvcompse ) (EvalWorkspace * ,real * hv , real * p , int co , varno_t nz , varno_t * z , fint * );
254- void (* Hvinit ) (EvalWorkspace * ,int hid_limit , int nobj , real * ow , real * y );
255- void (* Hvinit_nomap ) (EvalWorkspace * ,int hid_limit , int nobj , real * ow , real * y );
256- void (* Hvinite ) (EvalWorkspace * ,int hid_limit , int nobj , real * ow , real * y , fint * );
257- void (* Hvinite_nomap ) (EvalWorkspace * ,int hid_limit , int nobj , real * ow , real * y , fint * );
236+ real (* Objval ) (EvalWorkspace * ,int nobj , const real * X , fint * nerror );
237+ real (* Objval_nomap ) (EvalWorkspace * ,int nobj , const real * X , fint * nerror );
238+ void (* Objgrd ) (EvalWorkspace * ,int nobj , const real * X , real * G , fint * nerror );
239+ void (* Objgrd_nomap ) (EvalWorkspace * ,int nobj , const real * X , real * G , fint * nerror );
240+ void (* Conval ) (EvalWorkspace * ,const real * X , real * R , fint * nerror );
241+ void (* Jacval ) (EvalWorkspace * ,const real * X , real * J , fint * nerror );
242+ real (* Conival ) (EvalWorkspace * ,int ncon , const real * X , fint * nerror );
243+ real (* Conival_nomap ) (EvalWorkspace * ,int ncon , const real * X , fint * nerror );
244+ void (* Congrd ) (EvalWorkspace * ,int nc , const real * X , real * G , fint * nerror );
245+ void (* Congrd_nomap ) (EvalWorkspace * ,int nc , const real * X , real * G , fint * nerror );
246+ void (* Hvcomp ) (EvalWorkspace * ,real * hv , const real * p , int no , const real * ow , const real * y );
247+ void (* Hvcomp_nomap ) (EvalWorkspace * ,real * hv , const real * p , int no , const real * ow , const real * y );
248+ void (* Hvcompe ) (EvalWorkspace * ,real * hv , const real * p , int no , const real * ow , const real * y , fint * );
249+ void (* Hvcompe_nomap ) (EvalWorkspace * ,real * hv , const real * p , int no , const real * ow , const real * y , fint * );
250+ void (* Hvcompd ) (EvalWorkspace * ,real * hv , const real * p , int co );
251+ void (* Hvcompde ) (EvalWorkspace * ,real * hv , const real * p , int co , fint * );
252+ varno_t (* Hvcomps ) (EvalWorkspace * ,real * hv , const real * p , int co , varno_t nz , varno_t * z );
253+ varno_t (* Hvcompse ) (EvalWorkspace * ,real * hv , const real * p , int co , varno_t nz , varno_t * z , fint * );
254+ void (* Hvinit ) (EvalWorkspace * ,int hid_limit , int nobj , const real * ow , const real * y );
255+ void (* Hvinit_nomap ) (EvalWorkspace * ,int hid_limit , int nobj , const real * ow , const real * y );
256+ void (* Hvinite ) (EvalWorkspace * ,int hid_limit , int nobj , const real * ow , const real * y , fint * );
257+ void (* Hvinite_nomap ) (EvalWorkspace * ,int hid_limit , int nobj , const real * ow , const real * y , fint * );
258258/* void (*Hesset) (EvalWorkspace*,int flags, int no, int nno, int nc, int nnc);*/
259- int (* Lconval ) (EvalWorkspace * ,int ncon , real * X , fint * nerror );
260- int (* Xknown ) (EvalWorkspace * ,real * , fint * );
261- void (* Duthes ) (EvalWorkspace * ,real * H , int nobj , real * ow , real * y );
262- void (* Duthes_nomap ) (EvalWorkspace * ,real * H , int nobj , real * ow , real * y );
263- void (* Duthese ) (EvalWorkspace * ,real * H , int nobj , real * ow , real * y , fint * );
264- void (* Duthese_nomap ) (EvalWorkspace * ,real * H , int nobj , real * ow , real * y , fint * );
265- void (* Fulhes ) (EvalWorkspace * ,real * H , fint LH , int no , real * ow , real * y );
266- void (* Fulhes_nomap ) (EvalWorkspace * ,real * H , fint LH , int no , real * ow , real * y );
267- void (* Fulhese ) (EvalWorkspace * ,real * H , fint LH , int no , real * ow , real * y , fint * );
268- void (* Fulhese_nomap ) (EvalWorkspace * ,real * H , fint LH , int no , real * ow , real * y , fint * );
269- void (* Sphes ) (EvalWorkspace * ,SputInfo * * , real * H , int nobj , real * ow , real * y );
270- void (* Sphes_nomap ) (EvalWorkspace * ,SputInfo * * , real * H , int nobj , real * ow , real * y );
271- void (* Sphese ) (EvalWorkspace * ,SputInfo * * , real * H , int nobj , real * ow , real * y , fint * );
272- void (* Sphese_nomap ) (EvalWorkspace * ,SputInfo * * , real * H , int nobj , real * ow , real * y , fint * );
259+ int (* Lconval ) (EvalWorkspace * ,int ncon , const real * X , fint * nerror );
260+ int (* Xknown ) (EvalWorkspace * , const real * , fint * );
261+ void (* Duthes ) (EvalWorkspace * ,real * H , int nobj , const real * ow , const real * y );
262+ void (* Duthes_nomap ) (EvalWorkspace * ,real * H , int nobj , const real * ow , const real * y );
263+ void (* Duthese ) (EvalWorkspace * ,real * H , int nobj , const real * ow , const real * y , fint * );
264+ void (* Duthese_nomap ) (EvalWorkspace * ,real * H , int nobj , const real * ow , const real * y , fint * );
265+ void (* Fulhes ) (EvalWorkspace * ,real * H , fint LH , int no , const real * ow , const real * y );
266+ void (* Fulhes_nomap ) (EvalWorkspace * ,real * H , fint LH , int no , const real * ow , const real * y );
267+ void (* Fulhese ) (EvalWorkspace * ,real * H , fint LH , int no , const real * ow , const real * y , fint * );
268+ void (* Fulhese_nomap ) (EvalWorkspace * ,real * H , fint LH , int no , const real * ow , const real * y , fint * );
269+ void (* Sphes ) (EvalWorkspace * ,SputInfo * * , real * H , int nobj , const real * ow , const real * y );
270+ void (* Sphes_nomap ) (EvalWorkspace * ,SputInfo * * , real * H , int nobj , const real * ow , const real * y );
271+ void (* Sphese ) (EvalWorkspace * ,SputInfo * * , real * H , int nobj , const real * ow , const real * y , fint * );
272+ void (* Sphese_nomap ) (EvalWorkspace * ,SputInfo * * , real * H , int nobj , const real * ow , const real * y , fint * );
273273 fint (* Sphset ) (EvalWorkspace * ,SputInfo * * , int nobj , int ow , int y , int uptri );
274274 fint (* Sphset_nomap ) (EvalWorkspace * ,SputInfo * * , int nobj , int ow , int y , int uptri );
275275 EvalWorkspace * (* EWalloc )(ASL * );
@@ -1146,7 +1146,7 @@ QPinfo {
11461146 extern void deriv_errclear_ASL (EvalWorkspace * );
11471147 extern void derprop (derpblock * , real * , real * , real );
11481148 extern char * dtoa_r (double , int , int , int * , int * , char * * , char * , size_t );
1149- extern void duthes_ew_ASL (EvalWorkspace * , real * H , int nobj , real * ow , real * y );
1149+ extern void duthes_ew_ASL (EvalWorkspace * , real * H , int nobj , const real * ow , const real * y );
11501150 extern ufunc * dynlink_ASL (const char * );
11511151 extern int edag_peek (EdRead * );
11521152 extern void equ_adjust_ASL (ASL * , int * , int * );
@@ -1162,7 +1162,7 @@ QPinfo {
11621162 extern void fintrouble_ASL (EvalWorkspace * , func_info * , const char * , TMInfo * );
11631163 extern void flagsave_ASL (ASL * , int );
11641164 extern char * fread_sol_ASL (ASL * , const char * fname , real * * xp , real * * yp );
1165- extern void fullhes_ew_ASL (EvalWorkspace * , real * H , fint LH , int no , real * ow , real * y );
1165+ extern void fullhes_ew_ASL (EvalWorkspace * , real * H , fint LH , int no , const real * ow , const real * y );
11661166 extern Sig_ret_type fpecatch (int );
11671167 extern jmp_buf fpe_jmpbuf_ASL ;
11681168 extern func_info * func_lookup (ASL * , const char * , int add );
@@ -1227,7 +1227,7 @@ QPinfo {
12271227 extern char * obj_name_ASL (ASL * ,int );
12281228 extern int obj_prec (void );
12291229 extern void obj_adj_ASL (ASL * );
1230- extern void obj_adj_xy_ASL (ASL * asl , real * x , real * x0 , real * y );
1230+ extern void obj_adj_xy_ASL (ASL * asl , real * x , const real * x0 , real * y );
12311231 extern real objconst_ASL (ASL * ,int );
12321232 extern void objgrd_ (fint * N , real * X , fint * NOBJ , real * G , fint * nerror );
12331233 extern real objval_ (fint * N , real * X , fint * NOBJ , fint * nerror );
@@ -1252,7 +1252,7 @@ QPinfo {
12521252 extern void sigcatch_ASL (void );
12531253 extern void * sos_add_ASL (ASL * , FILE * , int );
12541254 extern int sos_finish_ASL (ASL * ,void * * ,int ,int * ,int * * ,int * ,int * * ,int * * ,real * * );
1255- extern void sphes_ew_ASL (EvalWorkspace * , SputInfo * * , real * H , int nobj , real * ow , real * y );
1255+ extern void sphes_ew_ASL (EvalWorkspace * , SputInfo * * , real * H , int nobj , const real * ow , const real * y );
12561256 extern fint sphsetup_ew_ASL (EvalWorkspace * , SputInfo * * , int nobj , int ow , int y , int uptri );
12571257 extern void student_check_ASL (ASL * );
12581258 extern void suf_declare_ASL (ASL * , SufDecl * , int );
@@ -1264,19 +1264,19 @@ QPinfo {
12641264 extern char * var_name_nomap_ASL (ASL * ,int ,int * );
12651265 extern void varscale_ASL (ASL * , int , real , fint * );
12661266 extern void what_prog (void );
1267- extern void write_sol_ASL (ASL * , const char * msg , double * x , double * y , Option_Info * );
1268- extern int write_solf_ASL (ASL * , const char * msg , double * x , double * y , Option_Info * ,
1267+ extern void write_sol_ASL (ASL * , const char * msg , const double * x , const double * y , Option_Info * );
1268+ extern int write_solf_ASL (ASL * , const char * msg , const double * x , const double * y , Option_Info * ,
12691269 const char * );
1270- extern int write_solfx_ASL (ASL * , const char * msg , double * x , double * y , Option_Info * ,
1270+ extern int write_solfx_ASL (ASL * , const char * msg , const double * x , const double * y , Option_Info * ,
12711271 Fwrite , Fwrite , Fwrite , const char * );
1272- extern void wrsolw_ (char * msg , fint * nmsg , real * x , real * y , fint * wantsol ,
1272+ extern void wrsolw_ (char * msg , fint * nmsg , const real * x , const real * y , fint * wantsol ,
12731273 ftnlen msg_len );
1274- extern void wrtsol_ (char * msg , fint * nmsg , real * x , real * y ,
1274+ extern void wrtsol_ (char * msg , fint * nmsg , const real * x , const real * y ,
12751275 ftnlen msg_len );
12761276 extern real xectim_ (void );
1277- extern void xknown_ASL (EvalWorkspace * , real * , fint * );
1278- extern void xknowe_ (real * x , fint * nerror );
1279- extern void xknown_ (real * x );
1277+ extern void xknown_ASL (EvalWorkspace * , const real * , fint * );
1278+ extern void xknowe_ (const real * x , fint * nerror );
1279+ extern void xknown_ (const real * x );
12801280 extern void xunkno_ (void );
12811281 extern void xunknown_ASL (EvalWorkspace * );
12821282 extern void zero_div_ASL (EvalWorkspace * , real , const char * );
0 commit comments