CLAM::CentralMoment< o, abs, T, U > Class Template Reference

#include <BasicOps.hxx>

Inheritance diagram for CLAM::CentralMoment< o, abs, T, U >:

CLAM::BaseMemOp

List of all members.


Detailed Description

template<int o, bool abs = false, class T = TData, class U = TData>
class CLAM::CentralMoment< o, abs, T, U >

Class Function that computes 'oth' order CentralMoment using BiasedPoweredSum Class Function.

It can also compute Central Moments using Previously Computed raw Moments. It also has associated memory so operation is not performed more than necessary.

Definition at line 603 of file BasicOps.hxx.


Public Member Functions

 CentralMoment ()
operator() (const Array< T > &a, BiasedPoweredSum< o, abs, T, U > &bps, StaticTrue *b=NULL)
operator() (const Array< T > &a, BiasedPoweredSum< o, abs, T, U > &bps, StaticFalse *)
operator() (const Array< T > &a, StaticTrue *b=NULL)
operator() (const Array< T > &a, StaticFalse *)
operator() (const Array< T > &a, Array< BaseMemOp * > &moments, StaticTrue *b=NULL)
 Compute central moments using raw moments.
operator() (const Array< T > &a, Array< BaseMemOp * > &moments, StaticFalse *)
operator() (const Array< T > &a, Array< BaseMemOp * > &moments, O< 1 > *)
operator() (const Array< T > &a, Array< BaseMemOp * > &moments, O< 2 > *)
operator() (const Array< T > &a, Array< BaseMemOp * > &moments, O< 3 > *)
operator() (const Array< T > &a, Array< BaseMemOp * > &moments, O< 4 > *)
operator() (const Array< T > &a, Array< BaseMemOp * > &moments, O< 5 > *)

Protected Attributes

BiasedPoweredSum< o, abs, T, U > mBPS
memory

Constructor & Destructor Documentation

template<int o, bool abs = false, class T = TData, class U = TData>
CLAM::CentralMoment< o, abs, T, U >::CentralMoment (  )  [inline]

Definition at line 606 of file BasicOps.hxx.


Member Function Documentation

template<int o, bool abs = false, class T = TData, class U = TData>
U CLAM::CentralMoment< o, abs, T, U >::operator() ( const Array< T > &  a,
BiasedPoweredSum< o, abs, T, U > &  bps,
StaticTrue b = NULL 
) [inline]

Definition at line 607 of file BasicOps.hxx.

template<int o, bool abs = false, class T = TData, class U = TData>
U CLAM::CentralMoment< o, abs, T, U >::operator() ( const Array< T > &  a,
BiasedPoweredSum< o, abs, T, U > &  bps,
StaticFalse  
) [inline]

Definition at line 613 of file BasicOps.hxx.

template<int o, bool abs = false, class T = TData, class U = TData>
U CLAM::CentralMoment< o, abs, T, U >::operator() ( const Array< T > &  a,
StaticTrue b = NULL 
) [inline]

Definition at line 617 of file BasicOps.hxx.

template<int o, bool abs = false, class T = TData, class U = TData>
U CLAM::CentralMoment< o, abs, T, U >::operator() ( const Array< T > &  a,
StaticFalse  
) [inline]

Definition at line 621 of file BasicOps.hxx.

template<int o, bool abs = false, class T = TData, class U = TData>
U CLAM::CentralMoment< o, abs, T, U >::operator() ( const Array< T > &  a,
Array< BaseMemOp * > &  moments,
StaticTrue b = NULL 
) [inline]

Compute central moments using raw moments.

Definition at line 627 of file BasicOps.hxx.

template<int o, bool abs = false, class T = TData, class U = TData>
U CLAM::CentralMoment< o, abs, T, U >::operator() ( const Array< T > &  a,
Array< BaseMemOp * > &  moments,
StaticFalse  
) [inline]

Definition at line 633 of file BasicOps.hxx.

template<int o, bool abs = false, class T = TData, class U = TData>
U CLAM::CentralMoment< o, abs, T, U >::operator() ( const Array< T > &  a,
Array< BaseMemOp * > &  moments,
O< 1 > *   
) [inline]

Definition at line 639 of file BasicOps.hxx.

template<int o, bool abs = false, class T = TData, class U = TData>
U CLAM::CentralMoment< o, abs, T, U >::operator() ( const Array< T > &  a,
Array< BaseMemOp * > &  moments,
O< 2 > *   
) [inline]

Definition at line 644 of file BasicOps.hxx.

template<int o, bool abs = false, class T = TData, class U = TData>
U CLAM::CentralMoment< o, abs, T, U >::operator() ( const Array< T > &  a,
Array< BaseMemOp * > &  moments,
O< 3 > *   
) [inline]

Definition at line 652 of file BasicOps.hxx.

template<int o, bool abs = false, class T = TData, class U = TData>
U CLAM::CentralMoment< o, abs, T, U >::operator() ( const Array< T > &  a,
Array< BaseMemOp * > &  moments,
O< 4 > *   
) [inline]

Definition at line 662 of file BasicOps.hxx.

template<int o, bool abs = false, class T = TData, class U = TData>
U CLAM::CentralMoment< o, abs, T, U >::operator() ( const Array< T > &  a,
Array< BaseMemOp * > &  moments,
O< 5 > *   
) [inline]

Definition at line 673 of file BasicOps.hxx.


Member Data Documentation

template<int o, bool abs = false, class T = TData, class U = TData>
BiasedPoweredSum<o,abs,T,U> CLAM::CentralMoment< o, abs, T, U >::mBPS [protected]

template<int o, bool abs = false, class T = TData, class U = TData>
U CLAM::CentralMoment< o, abs, T, U >::memory [protected]


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

Generated on Tue Aug 12 22:33:50 2008 for CLAM by  doxygen 1.5.5