| 914 | &calcPowerSum, NULL }; |
| 915 | |
| 916 | static double calcPowell( const double* const x, const int N ) |
| 917 | { |
| 918 | return( sqr(x[2]+10.0*x[0])+5.0*sqr(x[1]-x[3])+sqr(sqr(x[0]-2.0*x[1]))+ |
| 919 | 10.0*sqr(sqr(x[2]-x[3])) ); |
| 920 | } |
| 921 | |
| 922 | static const CTestFn TestFnPowell = { "Powell", 4, -4.0, 5.0, 0.0, |
| 923 | &calcPowell, NULL }; |