11 #ifndef RTOPPACK_TOP_LINEAR_COMBINATION_DECL_HPP
12 #define RTOPPACK_TOP_LINEAR_COMBINATION_DECL_HPP
14 #include "RTOpPack_RTOpTHelpers.hpp"
15 #include "Teuchos_Workspace.hpp"
31 template<
class Scalar>
37 const ArrayView<const Scalar> &alpha_in = Teuchos::null,
42 void alpha(
const ArrayView<const Scalar> &alpha_in );
45 const ArrayView<const Scalar>
alpha()
const;
48 void beta(
const Scalar& beta_in );
63 const Ptr<ReductTarget> &reduct_obj_inout
79 #endif // RTOPPACK_TOP_LINEAR_COMBINATION_DECL_HPP
Linear combination transformation operator: z0[i] = beta*z0[i].
void apply_op_impl(const ArrayView< const ConstSubVectorView< Scalar > > &sub_vecs, const ArrayView< const SubVectorView< Scalar > > &targ_sub_vecs, const Ptr< ReductTarget > &reduct_obj_inout) const
const ArrayView< const Scalar > alpha() const
TOpLinearCombination(const ArrayView< const Scalar > &alpha_in=Teuchos::null, const Scalar &beta=Teuchos::ScalarTraits< Scalar >::zero())