28 template<
class Vector>
29 void size_log(
const int nb_point,
const int size_min,
const int size_max,
Vector &
X)
33 float ls_min=
log(
float(size_min));
34 float ls_max=
log(
float(size_max));
38 float delta_ls=(ls_max-ls_min)/(
float(nb_point-1));
42 for (
int i=0;
i<nb_point;
i++){
44 ls = ls_min +
float(
i)*delta_ls ;
EIGEN_DEVICE_FUNC const LogReturnType log() const
EIGEN_DEVICE_FUNC const ExpReturnType exp() const
void size_log(const int nb_point, const int size_min, const int size_max, Vector &X)
Eigen::Matrix< double, Eigen::Dynamic, 1 > Vector