CLAM-Development  1.4.0
Public Member Functions
CLAM::GeometricMeanTmpl< T, U > Class Template Reference

Class Function that computes Geometric Mean using InnerProduct class function. More...

#include <BasicOps.hxx>

List of all members.

Public Member Functions

U operator() (const Array< T > &a, LogSumTmpl< T > &inProd, StaticFalse *useMemory)
U operator() (const Array< T > &a, LogSumTmpl< T > &inProd, StaticTrue *useMemory=NULL)
U operator() (const Array< T > &a, StaticTrue *useMemory=NULL)
U operator() (const Array< T > &a, StaticFalse *useMemory)
- Public Member Functions inherited from CLAM::BaseMemOp
 BaseMemOp ()
void Reset ()
virtual ~BaseMemOp ()

Additional Inherited Members

- Protected Attributes inherited from CLAM::BaseMemOp
bool alreadyComputed

Detailed Description

template<class T = TData, class U = TData>
class CLAM::GeometricMeanTmpl< T, U >

Class Function that computes Geometric Mean using InnerProduct class function.

It also has associated memory so operation is not performed more than necessary.

Definition at line 538 of file BasicOps.hxx.


Member Function Documentation

template<class T = TData, class U = TData>
U CLAM::GeometricMeanTmpl< T, U >::operator() ( const Array< T > &  a,
LogSumTmpl< T > &  inProd,
StaticFalse useMemory 
)
inline

Definition at line 541 of file BasicOps.hxx.

template<class T = TData, class U = TData>
U CLAM::GeometricMeanTmpl< T, U >::operator() ( const Array< T > &  a,
LogSumTmpl< T > &  inProd,
StaticTrue useMemory = NULL 
)
inline

Definition at line 545 of file BasicOps.hxx.

template<class T = TData, class U = TData>
U CLAM::GeometricMeanTmpl< T, U >::operator() ( const Array< T > &  a,
StaticTrue useMemory = NULL 
)
inline

Definition at line 551 of file BasicOps.hxx.

template<class T = TData, class U = TData>
U CLAM::GeometricMeanTmpl< T, U >::operator() ( const Array< T > &  a,
StaticFalse useMemory 
)
inline

Definition at line 555 of file BasicOps.hxx.


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