39 state.
push<T>(data.
X.row(
loc).template cast<T>());
51 else if (
otype ==
'c')
53 ArrayXi tmp = data.
X.row(
loc).cast<
int>();
58 ArrayXf tmp = data.
X.row(
loc).cast<
float>() ;
68 state.
push<T>(variable_name);
data holding X, y, and Z data
NodeVariable * clone_impl() const override
void evaluate(const Data &data, State &state)
Evaluates the node and updates the state states.
NodeVariable * rnd_clone_impl() const override
void eval_eqn(State &state)
Evaluates the node symbolically.
Eigen::Array< bool, Eigen::Dynamic, 1 > ArrayXb
void GPU_Variable(float *dev_x, float *host_x, size_t idx, size_t N)
std::string to_string(const T &value)
template function to convert objects to string for logging
contains various types of State actually used by feat
void push(Eigen::Array< T, Eigen::Dynamic, 1 > value)