Next: cspline_find, Previous: cspline, Up: Internal Routines [Contents][Index]

`cspline_extr, `

`x`, `y` [, `axis`, pos=`pos`,
minpos=`minpos`, minval=`minval`, maxpos=`maxpos`,
maxval=`maxval` [, /periodic]

This routine determines extreme values on the curve interpolated between
data points `(`

using natural cubic splines.
`x`,`y`)

(a scalar) specifies along which dimension values of
`axis`

must be taken. By default, 0 is assumed. The values in
`y`

must be in ascending order, and there must be one value
in `x`

for each value along the selected dimension in
`x`

. If `y`

is specified, then it must be a
scalar and indicates the x coordinate at which the search for an
appropriate local extreme must begin; otherwise, absolute extreme values
are sought. Found extreme values and their locations are returned in
`pos`

, and `minpos`, `minval`, `maxpos`

as appropriate.
`maxval`

See also: cspline