RTOpPack::ROpWeightedNorm2< Scalar > Class Template Reference

Weighted Two (Euclidean) norm reduction operator: result = sqrt( sum( v0[i]*conj(v1[i])*v1[i], i=0...n-1 ) ). More...

#include <RTOpPack_ROpWeightedNorm2.hpp>

Inheritance diagram for RTOpPack::ROpWeightedNorm2< Scalar >:

[legend]
List of all members.

Overridden from RTOpT

void apply_op (const int num_vecs, const ConstSubVectorView< Scalar > sub_vecs[], const int num_targ_vecs, const SubVectorView< Scalar > targ_sub_vecs[], ReductTarget *_reduct_obj) const
 

Public Member Functions

 ROpWeightedNorm2 ()
 
Teuchos::ScalarTraits< Scalar
>::magnitudeType 
operator() (const ReductTarget &reduct_obj) const
 

Detailed Description

template<class Scalar>
class RTOpPack::ROpWeightedNorm2< Scalar >

Weighted Two (Euclidean) norm reduction operator: result = sqrt( sum( v0[i]*conj(v1[i])*v1[i], i=0...n-1 ) ).

Definition at line 40 of file RTOpPack_ROpWeightedNorm2.hpp.


Constructor & Destructor Documentation

template<class Scalar>
RTOpPack::ROpWeightedNorm2< Scalar >::ROpWeightedNorm2 (  )  [inline]

Definition at line 44 of file RTOpPack_ROpWeightedNorm2.hpp.


Member Function Documentation

template<class Scalar>
Teuchos::ScalarTraits<Scalar>::magnitudeType RTOpPack::ROpWeightedNorm2< Scalar >::operator() ( const ReductTarget reduct_obj  )  const [inline]

Definition at line 47 of file RTOpPack_ROpWeightedNorm2.hpp.

template<class Scalar>
void RTOpPack::ROpWeightedNorm2< Scalar >::apply_op ( const int  num_vecs,
const ConstSubVectorView< Scalar >  sub_vecs[],
const int  num_targ_vecs,
const SubVectorView< Scalar >  targ_sub_vecs[],
ReductTarget _reduct_obj 
) const [inline, virtual]

Implements RTOpPack::RTOpT< Scalar >.

Definition at line 52 of file RTOpPack_ROpWeightedNorm2.hpp.


The documentation for this class was generated from the following file:
Generated on Tue Oct 20 12:46:14 2009 for Collection of Concrete Vector Reduction/Transformation Operator Implementations by doxygen 1.4.7