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
max< Backend::NATIVE, Matrix > Struct Template Reference

Detailed Description

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

Specialization of add for the Native backend.

Definition at line 82 of file Max.h.

Public Types

typedef Matrix::Scalar T
 

Static Public Member Functions

static T compute (SGMatrix< T > mat)
 
static T compute (SGVector< T > vec)
 
static T compute (T *vec, index_t len)
 

Member Typedef Documentation

typedef Matrix::Scalar T

Scalar type

Definition at line 85 of file Max.h.

Member Function Documentation

static T compute ( SGMatrix< T mat)
static

Returns the largest element in a matrix.

Parameters
matinput matrix
Returns
largest value in the input matrix

Definition at line 92 of file Max.h.

static T compute ( SGVector< T vec)
static

Returns the largest element in a vector.

Parameters
vecinput vector
Returns
largest value in the input vector

Definition at line 103 of file Max.h.

static T compute ( T vec,
index_t  len 
)
static

Returns the largest element in a vector or matrix passed as a pointer.

Parameters
vecinput vector or matrix
lenlength of the vector or matrix
Returns
largest value in the input vector or matrix

Definition at line 115 of file Max.h.


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

SHOGUN Machine Learning Toolbox - Documentation