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 *)

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,
StaticFalse  
) [inline]

Definition at line 302 of file BasicOps.hxx.

References CLAM::Array< T >::GetPtr(), and CLAM::Array< T >::Size().

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.


The documentation for this class was generated from the following file:
Generated by  doxygen 1.6.3