CLAM::InnerProductTmpl< T > Class Template Reference

#include <BasicOps.hxx>

Inheritance diagram for CLAM::InnerProductTmpl< T >:

CLAM::BaseMemOp

List of all members.


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.


Public Member Functions

 InnerProductTmpl ()
operator() (const Array< T > &a, StaticTrue *b=NULL)
operator() (const Array< T > &a, StaticFalse *)

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:

Generated on Tue Aug 12 22:33:50 2008 for CLAM by  doxygen 1.5.5