SHOGUN  6.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules
List of all members | Public Member Functions | Public Attributes
CMath::IndexSorter< T > Struct Template Reference

Detailed Description

template<class T>
struct shogun::CMath::IndexSorter< T >

Helper functor for the function argsort

Definition at line 1596 of file Math.h.

Public Member Functions

 IndexSorter (const SGVector< T > *vec)
 
bool operator() (index_t i, index_t j) const
 

Public Attributes

const T * data
 

Constructor & Destructor Documentation

IndexSorter ( const SGVector< T > *  vec)

constructor

Definition at line 1599 of file Math.h.

Member Function Documentation

bool operator() ( index_t  i,
index_t  j 
) const

access operator

Definition at line 1602 of file Math.h.

Member Data Documentation

const T* data

data

Definition at line 1609 of file Math.h.


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

SHOGUN Machine Learning Toolbox - Documentation