Class Function for computing product of all data in vector. More...
#include <BasicOps.hxx>
Public Member Functions | |
InnerProductTmpl () | |
T | operator() (const Array< T > &a, StaticTrue *b=NULL) |
T | operator() (const Array< T > &a, StaticFalse *) |
Class Function for computing product of all data in vector.
It also has associated memory so operation is not performed more than necessary.
Definition at line 292 of file BasicOps.hxx.
CLAM::InnerProductTmpl< T >::InnerProductTmpl | ( | ) | [inline] |
Definition at line 295 of file BasicOps.hxx.
T CLAM::InnerProductTmpl< T >::operator() | ( | const Array< T > & | a, | |
StaticFalse * | ||||
) | [inline] |
Definition at line 302 of file BasicOps.hxx.
References CLAM::Array< T >::GetPtr(), and CLAM::Array< T >::Size().
T CLAM::InnerProductTmpl< T >::operator() | ( | const Array< T > & | a, | |
StaticTrue * | b = NULL | |||
) | [inline] |
Definition at line 296 of file BasicOps.hxx.
References CLAM::BaseMemOp::alreadyComputed.