31 template<
typename T,
int N>
34 adoreMatrix<T, 1, 0> d;
35 d = dlib::zeros_matrix<T>(1,
x.nc());
37 for (
int i = 1; i <
x.nc(); i++)
39 adoreMatrix<T, N, 1> vi = v->
f(
x(i - 1));
41 for (
int j = 0; j < N; j++)
46 d(i) = d(i - 1) + sqrt(n);
61 template<
typename T,
int N>
64 adoreMatrix<T, 1, 0>
x;
65 adoreMatrix<T, 1, 0>
y;
66 x = adore::linspace<T>(path->limitLo(), path->limitHi(), count);
Definition: alfunction.h:74
virtual CT f(DT x) const =0
virtual ALFunction< DT, CT > * create_derivative()=0
Definition: llinearpiecewisefunction.h:32
ALFunction< DTb, CTa > * chain(ALFunction< DTa, CTa > *a, ALFunction< DTb, DTa > *b)
Definition: alfunction.h:778
adoreMatrix< T, 1, 0 > & path_distance(ALFunction< T, adoreMatrix< T, N, 1 >> *path, const adoreMatrix< T, 1, 0 > &x)
Definition: truedistancepath.h:32
ALFunction< T, adoreMatrix< T, 2, 1 > > * create_trueDistancePath(ALFunction< T, adoreMatrix< T, N, 1 >> *path, int count)
Definition: truedistancepath.h:62
x
Definition: adore_set_goal.py:30
y
Definition: adore_set_goal.py:31
Definition: areaofeffectconverter.h:20