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

Detailed Description

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

Specialization of scale for the Eigen3 backend

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

Definition at line 76 of file Scale.h.

typedef Matrix::Scalar T

Definition at line 75 of file Scale.h.

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

Definition at line 77 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 80 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 89 of file Scale.h.


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

SHOGUN Machine Learning Toolbox - Documentation