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

Detailed Description

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

Helper functor for the function sorted_index

Definition at line 504 of file SGVector.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 507 of file SGVector.h.

Member Function Documentation

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

access operator

Definition at line 510 of file SGVector.h.

Member Data Documentation

const T* data

data

Definition at line 516 of file SGVector.h.


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

SHOGUN Machine Learning Toolbox - Documentation