CLAM-Development  1.4.0
Public Member Functions
CLAM::InnerProductTmpl< T > Class Template Reference

Class Function for computing product of all data in vector. More...

#include <BasicOps.hxx>

List of all members.

Public Member Functions

 InnerProductTmpl ()
operator() (const Array< T > &a, StaticTrue *b=NULL)
operator() (const Array< T > &a, StaticFalse *)
- 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 CLAM::InnerProductTmpl< T >

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.


Constructor & Destructor Documentation

template<class T = TData>
CLAM::InnerProductTmpl< T >::InnerProductTmpl ( )
inline

Definition at line 295 of file BasicOps.hxx.


Member Function Documentation

template<class T = TData>
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.

template<class T = TData>
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().


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