SHOGUN  4.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
List of all members | Public Types | Static Public Member Functions
range_fill< Backend::EIGEN3, Matrix > Struct Template Reference

Detailed Description

template<class Matrix>
struct shogun::linalg::implementation::range_fill< Backend::EIGEN3, Matrix >

Partial specialization of add for the Eigen3 backend.

Definition at line 70 of file RangeFill.h.

Public Types

typedef Matrix::Scalar T
 
typedef Eigen::Matrix< T,
Eigen::Dynamic, 1 > 
VectorXt
 

Static Public Member Functions

static void compute (SGVector< T > A, T start)
 
static void compute (SGVector< T > A, index_t len, T start)
 

Member Typedef Documentation

typedef Matrix::Scalar T

Scalar type

Definition at line 73 of file RangeFill.h.

typedef Eigen::Matrix<T,Eigen::Dynamic,1> VectorXt

Eigen3 vector type

Definition at line 76 of file RangeFill.h.

Member Function Documentation

static void compute ( SGVector< T A,
T  start 
)
static

Range fill a vector with start...start+len-1

Parameters
A- the vector to be filled
start- value to be assigned to first element of vector or matrix

Definition at line 82 of file RangeFill.h.

static void compute ( SGVector< T A,
index_t  len,
T  start 
)
static

Range fill a vector array with start...start+len-1

Parameters
A- the array to be filled
len- length of the array to be filled
start- value to be assigned to first element of array

Definition at line 92 of file RangeFill.h.


The documentation for this struct was generated from the following file:

SHOGUN Machine Learning Toolbox - Documentation