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

Detailed Description

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

Specialization of max for the Eigen3 backend.

Definition at line 80 of file Max.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 T compute (SGMatrix< T > mat)
 
static T compute (SGVector< T > vec)
 

Member Typedef Documentation

typedef Eigen::Matrix<T,Eigen::Dynamic,Eigen::Dynamic> MatrixXt

Eigen3 matrix type

Definition at line 86 of file Max.h.

typedef Matrix::Scalar T

Scalar type

Definition at line 83 of file Max.h.

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

Eigen3 vector type

Definition at line 89 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 matrix

Definition at line 96 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 matrix

Definition at line 108 of file Max.h.


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

SHOGUN Machine Learning Toolbox - Documentation