SHOGUN  4.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 108 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 114 of file Scale.h.

typedef Matrix::Scalar T

Scalar type

Definition at line 111 of file Scale.h.

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

Eigen3 vector type

Definition at line 117 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 120 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 129 of file Scale.h.


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

SHOGUN Machine Learning Toolbox - Documentation