Description Usage Arguments Value Method (basis vs basis) Method (univariate function vs univariate function) Method (univariate function vs basis) Author(s)
This generic function provides methods to calculate inner products between functional data objects (basis functions, univariate functions and bivariate functions).
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ## S4 method for signature ''basis+','basis+''
x %*% y
## S4 method for signature ''fourier+','fourier+''
x %*% y
## S4 method for signature ''bspline+','bspline+''
x %*% y
## S4 method for signature ''fd+','fd+''
x %*% y
## S4 method for signature ''fd+','basis+''
x %*% y
## S4 method for signature ''basis+','fd+''
x %*% y
|
x,y |
Objects of classes |
See Method (...) sections for the explanation of various types of results.
x
and y
are two basis+
objects,
not necessarily of the same type (for example, one can be
bspline+
and the other be
fourier+
).
Assume that x
contains m
functions and y
contains
n
functions, and then x %*% y
returns an m
by n
matrix P
, whose element P[i, j]
is the inner product between
the i
-th function of x
and the j
-th function of y
.
x
and y
are two fd+
objects
which we do not require to have the same types of basis functions.
Assume that x
contains m
functions and y
contains
n
functions, and then x %*% y
returns an m
by n
matrix P
, whose element P[i, j]
is the inner product between
the i
-th function of x
and the j
-th function of y
.
Assueme that x
is an fd+
object and y
a basis+
object (or vice versa). We do not require
x
to have the same basis as y
.
If x
contains m
functions and y
contains
n
functions, then x %*% y
returns an m
by n
matrix P
, whose element P[i, j]
is the inner product between
the i
-th function of x
and the j
-th function of y
.
Yixuan Qiu <http://statr.me/>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.