[
Home
|
Support
|
Sales
|
Solvers
|
Documentation
|
Model Libraries
|
Search
|
Contact Us
]
fnsin.gms : Test correctness of sin intrinsic
define some sets, etc.
Small Model of Type: GAMS Includes:
fnset_x.inc
fntest_x.inc
$title 'Test correctness of sin intrinsic' (FNSIN,SEQ=157) * define some sets, etc. $include fnset_x.inc $gdxin fnsin $load aeps reps relToInput T data $gdxin loop {T, data(T, 'f') = sin.value (data(T,'x')); data(T, 'fx') = sin.grad (data(T,'x')); data(T,'fxx') = sin.hess (data(T,'x')); data(T, 'rc') = mathlastrc; data(T, 'ec') = mathlastec; }; $include fntest_x.inc