11 #ifndef RTOPPACK_TOP_ELE_WISE_CONJ_PROD_HPP
12 #define RTOPPACK_TOP_ELE_WISE_CONJ_PROD_HPP
15 #include "RTOpPack_RTOpTHelpers.hpp"
22 template<
class Scalar>
29 void operator()(
const Scalar &v0,
const Scalar &v1, Scalar &z0 )
const
31 z0 += alpha_ * ScalarTraits<Scalar>::conjugate(v0) * v1;
41 template<
class Scalar>
43 :
public TOp_2_1_Base<Scalar, TOpEleWiseConjProdEleWiseTransformation<Scalar> >
59 #endif // RTOPPACK_TOP_ELE_WISE_CONJ_PROD_HPP
Element-wise product transformation operator: z0[i] += alpha*conj(v0[i])*v1[i], i=0...n-1.
void setOpNameBase(const std::string &op_name_base)
TOpEleWiseConjProd(const Scalar &alpha)