43 #ifndef RTOPPACK_TOP_LINEAR_COMBINATION_DECL_HPP
44 #define RTOPPACK_TOP_LINEAR_COMBINATION_DECL_HPP
46 #include "RTOpPack_RTOpTHelpers.hpp"
47 #include "Teuchos_Workspace.hpp"
63 template<
class Scalar>
69 const ArrayView<const Scalar> &alpha_in = Teuchos::null,
74 void alpha(
const ArrayView<const Scalar> &alpha_in );
77 const ArrayView<const Scalar>
alpha()
const;
80 void beta(
const Scalar& beta_in );
95 const Ptr<ReductTarget> &reduct_obj_inout
103 Array<Scalar> alpha_;
111 #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())