fda (version 2.4.4)

expon: Exponential Basis Function Values

Description

Evaluates a set of exponential basis functions, or a derivative of these functions, at a set of arguments.

Usage

expon(x, ratevec=1, nderiv=0)

Arguments

x

a vector of values at which the basis functions are to be evaluated.

ratevec

a vector of rate or time constants defining the exponential functions. That is, if $a$ is the value of an element of this vector, then the corresponding basis function is $exp(at)$. The number of basis functions is equal to the length of ratevec.

nderiv

a nonnegative integer specifying an order of derivative to be computed. The default is 0, or the basis function value.

Value

a matrix of basis function values with rows corresponding to argument values and columns to basis functions.

Details

There are no restrictions on the rate constants.

See Also

exponpen