| 121 | } |
| 122 | |
| 123 | matrix<double,2,1> der_simple ( const matrix<double,2,1>& x) |
| 124 | { |
| 125 | ++total_count; |
| 126 | matrix<double,2,1> res; |
| 127 | res(0) = 20*x(0); |
| 128 | res(1) = 2*x(1); |
| 129 | return res; |
| 130 | } |
| 131 | |
| 132 | // ---------------------------------------------------------------------------------------- |
| 133 |