Home | History | Annotate | Download | only in unittest

Lines Matching full:derivative

261       Vector derivative(N); // this is actually "-derivative/2" :-)
262 derivative.Copy(perf_m.MultiplyLeft(stats_v - m_by_curr));
264 if (derivative.Len() > 1000.0) {
265 derivative = derivative * (1000.0 / derivative.Len());
274 if (current[i] + derivative[i] * step < 0.0) {
275 step = - current[i] / derivative[i];
279 new_curr = current + derivative*step;