43 #ifndef RTOPPACK_TOP_PAIR_WISE_MAX_UPDATE_HPP
44 #define RTOPPACK_TOP_PAIR_WISE_MAX_UPDATE_HPP
46 #include "RTOpPack_RTOpTHelpers.hpp"
53 template<
class Scalar>
60 void operator()(
const Scalar &v0, Scalar &z0 )
const
62 z0 = alpha_ * std::max(z0, v0);
72 template<
class Scalar>
74 :
public TOp_1_1_Base<Scalar, TOpPairWiseMaxUpdatePairWiseTransformation<Scalar> >
90 #endif // RTOPPACK_TOP_PAIR_WISE_MAX_UPDATE_HPP
Pair-wise Maximum update transformation operator: z0[i] = alpha*max(z0[i],v0[i]), i=0...
TOpPairWiseMaxUpdate(const Scalar &alpha)
void setOpNameBase(const std::string &op_name_base)