SHOGUN  4.1.0
List of all members | Public Types | Static Public Member Functions
apply< Backend::EIGEN3, Matrix, Vector > Struct Template Reference

Detailed Description

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

Partial specialization of apply for the Eigen3 backend.

Definition at line 73 of file Apply.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 SGVector< Tcompute (SGMatrix< T > A, SGVector< T > b, bool transpose)
 
static void compute (SGMatrix< T > A, SGVector< T > b, SGVector< T > x, bool transpose)
 

Member Typedef Documentation

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

Eigen matrix type

Definition at line 82 of file Apply.h.

typedef Matrix::Scalar T

Scalar type

Definition at line 76 of file Apply.h.

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

Eigen Vector type

Definition at line 85 of file Apply.h.

Member Function Documentation

static SGVector<T> compute ( SGMatrix< T A,
SGVector< T b,
bool  transpose 
)
static

Performs the operation of matrix applied to a vector \(x = Ab\).

Parameters
AThe matrix
bThe vector
transposeWhether to transpose A before applying to b
Returns
x Result vector

Definition at line 94 of file Apply.h.

static void compute ( SGMatrix< T A,
SGVector< T b,
SGVector< T x,
bool  transpose 
)
static

Performs the operation of matrix applied to a vector \(x = Ab\).

Parameters
AThe matrix
bThe vector
xResult vector
transposeWhether to transpose A before applying to b

Definition at line 108 of file Apply.h.


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

SHOGUN Machine Learning Toolbox - Documentation