| Library: | fda |
| See also: | createfdbasis data2fd |
| Quantlet: | createldo | |
| Description: | creates a linear differential operator (LDO) object |
| Usage: | LDO = createldo(ldoname,derivs) | |
| Input: | ||
| ldoname | name of the proc-endp environment where the linear differential operator (LDO) is defined | |
| derivs | vector containing the order of derivatives needed for the LDO | |
| Output: | ||
| LDO | list, LDO object, a list containing ldoname and derivs | |
library("fda")
proc(wt) = LDO1(evalarg)
wt = matrix(2, rows(evalarg), cols(evalarg))
wt[1] = 1.25 .* evalarg
wt[2] = 0.5 .* evalarg^2
endp
LDO = createldo("LDO1", #(1, 3))
LDO
Contents of LDO.ldoname [1,] "LDO1" Contents of LDO.derivs [1,] 1 [2,] 3