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

Detailed Description

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

Specialization of scale for the Eigen3 backend

Definition at line 69 of file Scale.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, SGMatrix< T > B, T alpha)
 
static void compute (SGVector< T > A, SGVector< T > B, T alpha)
 

Member Typedef Documentation

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

Eigen3 matrix type

Definition at line 75 of file Scale.h.

typedef Matrix::Scalar T

Scalar type

Definition at line 72 of file Scale.h.

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

Eigen3 vector type

Definition at line 78 of file Scale.h.

Member Function Documentation

static void compute ( SGMatrix< T A,
SGMatrix< T B,
T  alpha 
)
static

Performs the operation B = alpha*A

Definition at line 81 of file Scale.h.

static void compute ( SGVector< T A,
SGVector< T B,
T  alpha 
)
static

Performs the operation B = alpha*A

Definition at line 90 of file Scale.h.


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

SHOGUN Machine Learning Toolbox - Documentation