11 #ifndef RTOPPACK_TOP_SET_ELEMENT_HPP
12 #define RTOPPACK_TOP_SET_ELEMENT_HPP
14 #include "RTOpPack_RTOpTHelpers.hpp"
22 template<
class Scalar>
28 const Scalar &val_i_in = static_cast<Scalar>(0.0) )
29 :global_i_(global_i_in), val_i_(val_i_in)
37 void operator()(
const Ordinal global_i_in, Scalar &z0 )
const
39 if (global_i_in == global_i_) {
51 template<
class Scalar>
58 const Scalar &val_i_in = static_cast<Scalar>(0.0))
65 void initialize(
const Ordinal &global_i_in,
const Scalar &val_i_in)
83 #endif // RTOPPACK_TOP_SET_ELEMENT_HPP
virtual Range1D range_impl() const
void initialize(const Ordinal &global_i_in, const Scalar &val_i_in)
void setEleWiseTransformation(EleWiseTransformation eleWiseTransformation)
void setOpNameBase(const std::string &op_name_base)
TOpSetElement(const Ordinal &global_i_in=-1, const Scalar &val_i_in=static_cast< Scalar >(0.0))
Set the elements of a vector to: z0[i] = i+global_i+1, i=0...n-1.
const EleWiseTransformation & getEleWiseTransformation() const