RTOpPack::SUNDIALS_VWrmsMaskNorm< Scalar > Class Template Reference

#include <RTOpPack_SUNDIALS_Ops.hpp>

Inheritance diagram for RTOpPack::SUNDIALS_VWrmsMaskNorm< 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

 SUNDIALS_VWrmsMaskNorm ()
 

Detailed Description

template<class Scalar>
class RTOpPack::SUNDIALS_VWrmsMaskNorm< Scalar >

Returns the weighted root mean square norm of x with weight vector w:
         sqrt [(sum (i = 0 to N-1) {(x[i]*w[i])^2})/N]
Note that this is a *different* definition of the weighted norm than used in ROp_WeightedNorm2().

Author:
K. Long

Definition at line 310 of file RTOpPack_SUNDIALS_Ops.hpp.


Constructor & Destructor Documentation

template<class Scalar>
RTOpPack::SUNDIALS_VWrmsMaskNorm< Scalar >::SUNDIALS_VWrmsMaskNorm  )  [inline]
 

Definition at line 315 of file RTOpPack_SUNDIALS_Ops.hpp.


Member Function Documentation

template<class Scalar>
void RTOpPack::SUNDIALS_VWrmsMaskNorm< 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 328 of file RTOpPack_SUNDIALS_Ops.hpp.


The documentation for this class was generated from the following file:
Generated on Thu Sep 18 12:30:41 2008 for Collection of Concrete Vector Reduction/Transformation Operator Implementations by doxygen 1.3.9.1