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

Function calcHolderTable1

tests/testfn.h:755–759  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

753 -959.6406627208510, &calcEggHolder, NULL };
754
755static double calcHolderTable1( const double* const x, const int N )
756{
757 return( -fabs(exp(fabs(1.0-sqrt(sqr(x[0])+sqr(x[1]))/M_PI))*cos(x[0])*
758 cos(x[1])) );
759}
760
761static const CTestFn TestFnHolderTable1 = { "HolderTable1", 2, -10.0, 10.0,
762 -26.9203355555189, &calcHolderTable1, NULL };

Callers

nothing calls this directly

Calls 1

sqrFunction · 0.85

Tested by

no test coverage detected