Description
Small Model of Type : GAMS
Category : GAMS Test library
Main file : fnasin.gms includes : fnset_x.inc [html] fntest_x.inc [html]
$title 'Test correctness of arcsin intrinsic' (FNASIN,SEQ=272)
$include fnset_x.inc
$gdxIn fnasin
$load aeps reps0 reps1 reps2 T data
$gdxIn
loop {T,
data(T, 'f') = arcsin.value (data(T,'x'));
data(T, 'fx') = arcsin.grad (data(T,'x'));
data(T,'fxx') = arcsin.hess (data(T,'x'));
data(T, 'rc') = mathlastrc;
data(T, 'ec') = mathlastec;
};
execerror = 0;
$include fntest_x.inc