Usage: |
inprodmat=inprod(fdo1,fdo2{,Lfd1{,Lfd2{,JMAX{,EPS}}}})
|
Input: |
| fdo1 | list, first fd or fdbasis object (see createfdbasis.xpl)
|
| fdo2 | list, second fd or fdbasis object (see createfdbasis.xpl)
|
| Lfd1 | list, optional, first evaluation object (see createldo.xpl).
A scalar or a (r x 1) vector of integers which indicates
the order of derivatives to obtain. In the case of an LDO
with constant coefficients, Lfd1 must
be a (r x 2) matrix, where the first column contains the
coefficients, the second one the orders of derivatives.
When to apply an LDO with variable coefficients Lfd1 must be
an LDO object.
The default value is Lfd1 = 2.
|
| Lfd2 | list, optional, second evaluation objec. See Lfd1.
The default value is Lfd2 = 2.
|
| JMAX | scalar, optional, maximum number of iterations. The default value is JMAX = 15.
|
| EPS | scalar, optional, fractional accuracy desired, as determined
by the extrapolation error estimate.
The default value is 1e-4.
|
Output: |
| inprodmat | (nbasis1 x nbasis2 x r) array, inner products for each
possible pair of functions. The third dimension only appears
when Lfd1 = Lfd2 are (r x 1) vectors. Otherwise the third
dimension is one. |