SHOGUN  6.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules
List of all members | Public Types | Static Public Member Functions
set_rows_const< backend, Matrix, Vector > Struct Template Reference

Detailed Description

template<Backend backend, class Matrix, class Vector>
struct shogun::linalg::implementation::set_rows_const< backend, Matrix, Vector >

Generic class which is specialized for different backends to perform the set_rows_const operation

Definition at line 59 of file SetRowsConst.h.

Public Types

typedef Matrix::Scalar T

Static Public Member Functions

static void compute (Matrix A, Vector v)

Member Typedef Documentation

typedef Matrix::Scalar T

Scalar type

Definition at line 62 of file SetRowsConst.h.

Member Function Documentation

static void compute ( Matrix  A,
Vector  v 

Sets each row of a matrix to some constant value. That is, perfoms the operation A[i,j] = v[i], for all i and j

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

SHOGUN Machine Learning Toolbox - Documentation