Evaluates a set of exponential basis functions, or a derivative of these functions, at a set of arguments.
expon(x, ratevec=1, nderiv=0)
a matrix of basis function values with rows corresponding to argument values and columns to basis functions.
a vector of values at which the basis functions are to be evaluated.
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
.
a nonnegative integer specifying an order of derivative to be computed. The default is 0, or the basis function value.
There are no restrictions on the rate constants.
exponpen