43 #ifndef RTOPPACK_TOP_ELE_WISE_PROD_HPP
44 #define RTOPPACK_TOP_ELE_WISE_PROD_HPP
46 #include "RTOpPack_RTOpTHelpers.hpp"
53 template<
class Scalar>
60 void operator()(
const Scalar &v0,
const Scalar &v1, Scalar &z0 )
const
72 template<
class Scalar>
74 :
public TOp_2_1_Base<Scalar, TOpEleWiseProdEleWiseTransformation<Scalar> >
90 #endif // RTOPPACK_TOP_ELE_WISE_PROD_HPP
Base class for transformations for 2 input and 1 output vector.
Element-wise product transformation operator: z0[i] += alpha*v0[i]*v1[i], i=0...n-1.
TOpEleWiseProd(const Scalar &alpha)
void setOpNameBase(const std::string &op_name_base)
Just set the operator name.
TOp_2_1_Base< Scalar, TOpEleWiseProdEleWiseTransformation< Scalar > > base_t