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

Detailed Description

template<>
struct shogun::linalg::implementation::set_rows_const< Backend::EIGEN3, Matrix, Vector >

Specialization of set_rows_const for the Eigen3 backend

Definition at line 75 of file SetRowsConst.h.

Public Types

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

Static Public Member Functions

static void compute (SGMatrix< T > A, SGVector< T > v)

Member Typedef Documentation

typedef Eigen::Matrix<T,Eigen::Dynamic,Eigen::Dynamic> MatrixXt

Definition at line 78 of file SetRowsConst.h.

typedef Matrix::Scalar T

Definition at line 77 of file SetRowsConst.h.

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

Definition at line 79 of file SetRowsConst.h.

Member Function Documentation

static void compute ( SGMatrix< T A,
SGVector< T v 
)
static

Sets each row of a matrix to some constant value. That is, perfoms the operation A[i,j] = v[i], for all i and j

Definition at line 84 of file SetRowsConst.h.


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

SHOGUN Machine Learning Toolbox - Documentation