| 1562 | &calcCamel, NULL }; |
| 1563 | |
| 1564 | static double calcComplex( const double* const x, const int N ) |
| 1565 | { |
| 1566 | return( sqr(pow(x[0],3.0)-3.0*x[0]*sqr(x[1])-1.0)+ |
| 1567 | sqr(3.0*x[1]*sqr(x[0])-pow(x[1],3.0)) ); |
| 1568 | } |
| 1569 | |
| 1570 | static const CTestFn TestFnComplex = { "Complex", 2, -2.0, 2.0, 0.0, |
| 1571 | &calcComplex, NULL }; |