Graph-matrix calculus (GPH), Function evaluation
Y = gph_eval(gph, X)
matrix. A function in GPH matrix form.
column vector. The nondecreasing X values at which to evaluate the function.
column vector. The values obtained by evaluating gph at each X value.
Evaluates the given GPH function at a list of points. Returns a vector containing the function value at each point. Assumes that X is in nondecreasing order, to evaluate in linear time.
Bryan Gardiner
, University of British Columbia, BC, Canada