MCPcopy Create free account
hub / github.com/avaneev/biteopt / calcDolan

Function calcDolan

tests/testfn.h:951–955  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

949 -45.7784697074463, &calcPaviani, NULL };
950
951static double calcDolan( const double* const x, const int N )
952{
953 return( (x[0]+1.7*x[1])*sin(x[0])-1.5*x[2]-
954 0.1*x[3]*cos(x[4]+x[3]-x[0])+0.2*sqr(x[4])-x[1]-1.0 );
955}
956
957static const CTestFn TestFnDolan = { "Dolan", 5, -100.0, 100.0,
958 -529.8714387324576, &calcDolan, NULL };

Callers

nothing calls this directly

Calls 1

sqrFunction · 0.85

Tested by

no test coverage detected