CLAM-Development  1.4.0
Public Member Functions | Protected Member Functions | Protected Attributes
CLAM::SkewTmpl< abs, T, U > Class Template Reference

Class Function that computes Skewness using Standard Deviation and 3rd order central moment. More...

#include <BasicOps.hxx>

List of all members.

Public Member Functions

 SkewTmpl ()
U operator() (const Array< T > &data, StandardDeviationTmpl< abs, T, U > &std, CentralMoment< 3, abs, T, U > &ctrMnt3, bool useMemory=false)
 Computation using existing statistics computaros for Standar deviation and CentralMoment<3>
U operator() (const Array< T > &data, bool useMemory=false)
 Computation without using any existing statistics computaros for Standar deviation and CentralMoment<3>
- Public Member Functions inherited from CLAM::BaseMemOp
 BaseMemOp ()
void Reset ()
virtual ~BaseMemOp ()

Protected Member Functions

U MemorylessCompute (const Array< T > &data, StandardDeviationTmpl< abs, T, U > &std, CentralMoment< 3, abs, T, U > &ctrMnt3)

Protected Attributes

U memory
StandardDeviationTmpl< abs, T, UmSD
CentralMoment< 3, abs, T, UmCM3
- Protected Attributes inherited from CLAM::BaseMemOp
bool alreadyComputed

Detailed Description

template<bool abs = false, class T = TData, class U = TData>
class CLAM::SkewTmpl< abs, T, U >

Class Function that computes Skewness using Standard Deviation and 3rd order central moment.

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

Definition at line 726 of file BasicOps.hxx.


Constructor & Destructor Documentation

template<bool abs = false, class T = TData, class U = TData>
CLAM::SkewTmpl< abs, T, U >::SkewTmpl ( )
inline

Definition at line 730 of file BasicOps.hxx.


Member Function Documentation

template<bool abs = false, class T = TData, class U = TData>
U CLAM::SkewTmpl< abs, T, U >::MemorylessCompute ( const Array< T > &  data,
StandardDeviationTmpl< abs, T, U > &  std,
CentralMoment< 3, abs, T, U > &  ctrMnt3 
)
inlineprotected

Definition at line 748 of file BasicOps.hxx.

Referenced by CLAM::SkewTmpl< abs, TData, TData >::operator()().

template<bool abs = false, class T = TData, class U = TData>
U CLAM::SkewTmpl< abs, T, U >::operator() ( const Array< T > &  data,
StandardDeviationTmpl< abs, T, U > &  std,
CentralMoment< 3, abs, T, U > &  ctrMnt3,
bool  useMemory = false 
)
inline

Computation using existing statistics computaros for Standar deviation and CentralMoment<3>

Definition at line 732 of file BasicOps.hxx.

template<bool abs = false, class T = TData, class U = TData>
U CLAM::SkewTmpl< abs, T, U >::operator() ( const Array< T > &  data,
bool  useMemory = false 
)
inline

Computation without using any existing statistics computaros for Standar deviation and CentralMoment<3>

Standard deviation and 3rd order central moment are not available, use members

Definition at line 741 of file BasicOps.hxx.


Member Data Documentation

template<bool abs = false, class T = TData, class U = TData>
CentralMoment<3,abs,T,U> CLAM::SkewTmpl< abs, T, U >::mCM3
protected

Definition at line 757 of file BasicOps.hxx.

Referenced by CLAM::SkewTmpl< abs, TData, TData >::operator()().

template<bool abs = false, class T = TData, class U = TData>
U CLAM::SkewTmpl< abs, T, U >::memory
protected

Definition at line 755 of file BasicOps.hxx.

Referenced by CLAM::SkewTmpl< abs, TData, TData >::operator()().

template<bool abs = false, class T = TData, class U = TData>
StandardDeviationTmpl<abs,T,U> CLAM::SkewTmpl< abs, T, U >::mSD
protected

Definition at line 756 of file BasicOps.hxx.

Referenced by CLAM::SkewTmpl< abs, TData, TData >::operator()().


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