Class Function that computes 'oth' order Center of Gravity using WeightedPoweredSum Class Function. More...
#include <BasicOps.hxx>
Public Member Functions | |
CenterOfGravity () | |
U | operator() (const Array< T > &a, WeightedPoweredSum< o, abs, T > &wPowSum, PoweredSum< o, abs, T > &PowSum, StaticFalse *) |
Memoryless Computation using external lower level functors. | |
U | operator() (const Array< T > &a, WeightedPoweredSum< o, abs, T > &wPowSum, PoweredSum< o, abs, T > &PowSum, StaticTrue *b=NULL) |
Memoryfull Computation using external lower level functors. | |
U | operator() (const Array< T > &a, StaticFalse *) |
Memoryless Computation using internal lower level functors. | |
U | operator() (const Array< T > &a, StaticTrue *b=NULL) |
Memoryfull Computation using internal lower level functors. | |
Protected Attributes | |
U | memory |
WeightedPoweredSum< o, abs, T > | mWPS |
PoweredSum< o, abs, T > | mPS |
Class Function that computes 'oth' order Center of Gravity using WeightedPoweredSum Class Function.
It also has associated memory so operation is not performed more than necessary.
Definition at line 409 of file BasicOps.hxx.
CLAM::CenterOfGravity< o, abs, T, U >::CenterOfGravity | ( | ) | [inline] |
Definition at line 412 of file BasicOps.hxx.
U CLAM::CenterOfGravity< o, abs, T, U >::operator() | ( | const Array< T > & | a, | |
StaticTrue * | b = NULL | |||
) | [inline] |
Memoryfull Computation using internal lower level functors.
Definition at line 438 of file BasicOps.hxx.
U CLAM::CenterOfGravity< o, abs, T, U >::operator() | ( | const Array< T > & | a, | |
StaticFalse * | ||||
) | [inline] |
Memoryless Computation using internal lower level functors.
Definition at line 433 of file BasicOps.hxx.
U CLAM::CenterOfGravity< o, abs, T, U >::operator() | ( | const Array< T > & | a, | |
WeightedPoweredSum< o, abs, T > & | wPowSum, | |||
PoweredSum< o, abs, T > & | PowSum, | |||
StaticTrue * | b = NULL | |||
) | [inline] |
Memoryfull Computation using external lower level functors.
Definition at line 426 of file BasicOps.hxx.
U CLAM::CenterOfGravity< o, abs, T, U >::operator() | ( | const Array< T > & | a, | |
WeightedPoweredSum< o, abs, T > & | wPowSum, | |||
PoweredSum< o, abs, T > & | PowSum, | |||
StaticFalse * | ||||
) | [inline] |
Memoryless Computation using external lower level functors.
Definition at line 414 of file BasicOps.hxx.
U CLAM::CenterOfGravity< o, abs, T, U >::memory [protected] |
Definition at line 444 of file BasicOps.hxx.
Referenced by CLAM::CenterOfGravity< 1, abs, T, U >::operator()().
PoweredSum<o,abs,T> CLAM::CenterOfGravity< o, abs, T, U >::mPS [protected] |
Definition at line 446 of file BasicOps.hxx.
Referenced by CLAM::CenterOfGravity< 1, abs, T, U >::operator()().
WeightedPoweredSum<o,abs,T> CLAM::CenterOfGravity< o, abs, T, U >::mWPS [protected] |
Definition at line 445 of file BasicOps.hxx.
Referenced by CLAM::CenterOfGravity< 1, abs, T, U >::operator()().