|
RTOp Package Browser (Single Doxygen Collection)
Version of the Day
|
Go to the documentation of this file.
43 #ifndef RTOPPACK_ROP_WEIGHTED_NORM2_HPP
44 #define RTOPPACK_ROP_WEIGHTED_NORM2_HPP
46 #include "RTOpPack_RTOpTHelpers.hpp"
53 template<
class Scalar>
57 void operator()(
const Scalar &v0,
const Scalar &v1, Scalar &reduct )
const
67 template<
class Scalar>
70 ROpWeightedNorm2EleWiseReduction<Scalar> >
89 #endif // RTOPPACK_ROP_WEIGHTED_NORM2_HPP
static magnitudeType magnitude(T a)
Teuchos::ScalarTraits< Scalar > ST
Weighted Two (Euclidean) norm reduction operator: result = sqrt( sum( v0[i]*conj(v1[i])*v1[i],...
const Scalar & getRawVal(const ReductTarget &reduct_obj) const
Abstract base class for all reduction objects.
Base class for scalar reduction RTOps with two input vectors.
void setOpNameBase(const std::string &op_name_base)
Just set the operator name.
void operator()(const Scalar &v0, const Scalar &v1, Scalar &reduct) const
ST::magnitudeType operator()(const ReductTarget &reduct_obj) const