25 ArrayXf x = state.
pop<
float>();
26 ArrayXf res = (x > 0).select(ArrayXf::Ones(x.size()), ArrayXf::Zero(x.size()));
27 state.
push<
float>(res);
39 state.
push<
float>(
"step("+ state.
popStr<
float>() +
")");
data holding X, y, and Z data
NodeStep * rnd_clone_impl() const override
NodeStep * clone_impl() const override
void evaluate(const Data &data, State &state)
Evaluates the node and updates the state states.
void eval_eqn(State &state)
Evaluates the node symbolically.
std::map< char, unsigned int > arity
arity of the operator
int complexity
complexity of node
void GPU_Step(float *x, size_t idx, size_t N)
contains various types of State actually used by feat
Eigen::Array< T, Eigen::Dynamic, 1 > pop()
void push(Eigen::Array< T, Eigen::Dynamic, 1 > value)