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
set_rows_const< Backend::EIGEN3, Matrix, Vector > Struct Template Reference

Detailed Description

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

Specialization of set_rows_const for the Eigen3 backend

Definition at line 73 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

Eigen3 matrix type

Definition at line 79 of file SetRowsConst.h.

typedef Matrix::Scalar T

Scalar type

Definition at line 76 of file SetRowsConst.h.

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

Eigen3 vector type

Definition at line 82 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 87 of file SetRowsConst.h.


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

SHOGUN Machine Learning Toolbox - Documentation