SHOGUN  4.1.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::NATIVE, Matrix > Struct Template Reference

Detailed Description

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

Specialization of scale for the Native backend

Definition at line 71 of file Scale.h.

Public Types

typedef Matrix::Scalar T
 

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)
 
static void compute (T *A, T *B, index_t len, T alpha)
 

Member Typedef Documentation

typedef Matrix::Scalar T

Definition at line 73 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 76 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 86 of file Scale.h.

static void compute ( T A,
T B,
index_t  len,
T  alpha 
)
static

Performs the operation B = alpha*A for len elements

Definition at line 95 of file Scale.h.


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

SHOGUN Machine Learning Toolbox - Documentation