expon: Exponential Basis Function Values

exponR Documentation

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.

Details

There are no restrictions on the rate constants.

Value

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

See Also

exponpen


fda documentation built on May 31, 2023, 9:19 p.m.