6 #include "../../../util/utils.h"
24 ArrayXf tmp(state.
z.
top().first.size());
28 for(x = 0; x < state.
z.
top().first.size(); x++)
33 state.
push<
float>(tmp);
40 ArrayXf tmp(state.
z.
top().first.size());
44 for(x = 0; x < state.
z.
top().first.size(); x++)
58 state.
push<
float>(
"median(" + state.
zs.
pop() +
")");
data holding X, y, and Z data
type pop()
returns true or false depending on stack is empty or not
type & top()
returns element at particular location in stack
std::map< char, unsigned int > arity
arity of the operator
ArrayXf limited(ArrayXf x)
limits node output to be between MIN_FLT and MAX_FLT
int complexity
complexity of node
void GPU_Variable(float *dev_x, float *host_x, size_t idx, size_t N)
float median(const ArrayXf &v)
calculate median
contains various types of State actually used by feat
Stack< string > zs
longitudinal node string stack
Stack< std::pair< vector< ArrayXf >, vector< ArrayXf > > > z
longitudinal node stack
void push(Eigen::Array< T, Eigen::Dynamic, 1 > value)