31 #ifndef RANGE_FILL_IMPL_H_
32 #define RANGE_FILL_IMPL_H_
46 namespace implementation
52 template <enum Backend,
class Matrix>
56 typedef typename Matrix::Scalar
T;
62 static void compute(Matrix A, T start);
69 template <
class Matrix>
73 typedef typename Matrix::Scalar
T;
95 A_eig.setLinSpaced(len, start, A.
size()+start-1);
105 #endif //RANGE_FILL_IMPL_H_
Generic class which is specialized for different backends to perform the Range fill operation...
static void compute(SGVector< T > A, T start)
Eigen::Matrix< T, Eigen::Dynamic, 1 > VectorXt
all of classes and functions are contained in the shogun namespace
static void compute(Matrix A, T start)
static void compute(SGVector< T > A, index_t len, T start)