SHOGUN  4.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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 1575 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 1578 of file Math.h.

Member Function Documentation

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

access operator

Definition at line 1581 of file Math.h.

Member Data Documentation

const T* data

data

Definition at line 1588 of file Math.h.


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

SHOGUN Machine Learning Toolbox - Documentation