SHOGUN  v3.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
IndexSorter< T > Struct Template Reference

Detailed Description

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

Helper functor for the function argsort

Definition at line 170 of file SGVector.cpp.

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 173 of file SGVector.cpp.

Member Function Documentation

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

access operator

Definition at line 176 of file SGVector.cpp.

Member Data Documentation

const T* data

data

Definition at line 182 of file SGVector.cpp.


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

SHOGUN Machine Learning Toolbox - Documentation