11 #ifndef RTOPPACK_TOP_PAIR_WISE_MAX_UPDATE_HPP
12 #define RTOPPACK_TOP_PAIR_WISE_MAX_UPDATE_HPP
14 #include "RTOpPack_RTOpTHelpers.hpp"
21 template<
class Scalar>
30 z0 =
alpha_ * std::max(z0, v0);
40 template<
class Scalar>
42 :
public TOp_1_1_Base<Scalar, TOpPairWiseMaxUpdatePairWiseTransformation<Scalar> >
58 #endif // RTOPPACK_TOP_PAIR_WISE_MAX_UPDATE_HPP
TOp_1_1_Base< Scalar, TOpPairWiseMaxUpdatePairWiseTransformation< Scalar > > base_t
Pair-wise Maximum update transformation operator: z0[i] = alpha*max(z0[i],v0[i]), i=0...
TOpPairWiseMaxUpdate(const Scalar &alpha)
Base class for transformations for 1 input and 1 output vector.
void setOpNameBase(const std::string &op_name_base)
Just set the operator name.