EVAL

Evaluates the pwar function.

Contents

Method of the pwar object.

Description

This method, given a point, locates the hyperrectangle which contains it and then computes the value of the function from the local function parameters $F_i$, $G_i$ i.e. $u = F_i x + G_i$. A [npoints*ndim] matrix X of points can also be passed to the method, in this case the function is evaluated in all points.

Syntax

U= eval(object, X, [mode])

Where X is a [npoints*ndim] matrix, and U is a [npoints*ncodim] matrix, 'mode' is a string denoting the mode to use with the findRegion procedure on which eval is dependent.

See also

See also pwar/findregion.

Acknowledgements

Contributors:

Copyright is with: