Machine Learning Library
|
#include <CVectorOperations.h>
Public Types | |
typedef T(* | ScalarFunction )(const CVector< T > &a, const CVector< T > &b) |
typedef void(* | InplaceFunction )(CVector< T > &a, const CVector< T > &b) |
typedef void(* | InplaceFunctionArg )(CVector< T > &, const CVector< T > &, float, float) |
typedef void(* | CopyFunction )(CDenseVector< T > &, const CVector< T > &, const CVector< T > &) |
typedef CSparseVector< T > | sparse |
typedef CDenseVector< T > | dense |
Public Member Functions | |
InplaceFunction | getElementProduct (const CVector< T > &, const CVector< T > &) const |
InplaceFunction | getElementDivision (const CVector< T > &, const CVector< T > &) const |
InplaceFunctionArg | getElementAdapt (const CVector< T > &, const CVector< T > &) const |
ScalarFunction | getScalarProduct (const CVector< T > &, const CVector< T > &) const |
ScalarFunction | getCommonProduct (const CVector< T > &, const CVector< T > &) const |
ScalarFunction | getEuclideanDistance (const CVector< T > &, const CVector< T > &) const |
ScalarFunction | getCoCosineDistance (const CVector< T > &, const CVector< T > &) const |
InplaceFunction | getElementCopy (const CVector< T > &, const CVector< T > &) const |
CopyFunction | getElementAddition (const CVector< T > &, const CVector< T > &) const |
CopyFunction | getElementSubtraction (const CVector< T > &, const CVector< T > &) const |
Static Public Member Functions | |
static CVectorOperations< T > & | getInstance () |
get Singleton instance More... | |
Protected Member Functions | |
int | getIndex (const std::type_info &, const std::type_info &) const |
ScalarFunction | lookupScalarFunction (const ScalarFunction *, const CVector< T > &, const CVector< T > &) const |
InplaceFunction | lookupInplaceFunction (const InplaceFunction *, const CVector< T > &, const CVector< T > &) const |
InplaceFunctionArg | lookupInplaceFunctionArg (const InplaceFunctionArg *, const CVector< T > &, const CVector< T > &) const |
CopyFunction | lookupCopyFunction (const CopyFunction *, const CVector< T > &, const CVector< T > &) const |
CVectorOperations () | |
CVectorOperations (const CVectorOperations &) | |
typedef void(* CVectorOperations< T >::CopyFunction)(CDenseVector< T > &, const CVector< T > &, const CVector< T > &) |
typedef CDenseVector<T> CVectorOperations< T >::dense |
typedef void(* CVectorOperations< T >::InplaceFunction)(CVector< T > &a, const CVector< T > &b) |
typedef void(* CVectorOperations< T >::InplaceFunctionArg)(CVector< T > &, const CVector< T > &, float, float) |
typedef T(* CVectorOperations< T >::ScalarFunction)(const CVector< T > &a, const CVector< T > &b) |
typedef CSparseVector<T> CVectorOperations< T >::sparse |
|
protected |
|
protected |
ScalarFunction CVectorOperations< T >::getCoCosineDistance | ( | const CVector< T > & | , |
const CVector< T > & | |||
) | const |
ScalarFunction CVectorOperations< T >::getCommonProduct | ( | const CVector< T > & | , |
const CVector< T > & | |||
) | const |
InplaceFunctionArg CVectorOperations< T >::getElementAdapt | ( | const CVector< T > & | , |
const CVector< T > & | |||
) | const |
CopyFunction CVectorOperations< T >::getElementAddition | ( | const CVector< T > & | , |
const CVector< T > & | |||
) | const |
InplaceFunction CVectorOperations< T >::getElementCopy | ( | const CVector< T > & | , |
const CVector< T > & | |||
) | const |
InplaceFunction CVectorOperations< T >::getElementDivision | ( | const CVector< T > & | , |
const CVector< T > & | |||
) | const |
InplaceFunction CVectorOperations< T >::getElementProduct | ( | const CVector< T > & | , |
const CVector< T > & | |||
) | const |
CopyFunction CVectorOperations< T >::getElementSubtraction | ( | const CVector< T > & | , |
const CVector< T > & | |||
) | const |
ScalarFunction CVectorOperations< T >::getEuclideanDistance | ( | const CVector< T > & | , |
const CVector< T > & | |||
) | const |
|
protected |
|
static |
get Singleton instance
Referenced by operator+(), and operator-().
ScalarFunction CVectorOperations< T >::getScalarProduct | ( | const CVector< T > & | , |
const CVector< T > & | |||
) | const |
|
protected |
|
protected |
|
protected |
|
protected |