Fourier
The Fourier
class provides Fourier basis functions. Such basis functions are useful are useful for fitting periodic data in Functional Data Analysis.
Value parameters
- mMax
-
the number of sin/cos pairs to be used in the basis function
- w
-
the fundamental frequency parameter
Attributes
- See also
-
en.wikipedia.org/wiki/Fourier_series
- Graph
-
- Supertypes
- Known subtypes
-
class DFourier
Members list
Value members
Concrete methods
Obtain the value of the m-th order j-th basis function at time t. Or alternatively, obtain the basis function by calling bf(m)(j) only.
Obtain the value of the m-th order j-th basis function at time t. Or alternatively, obtain the basis function by calling bf(m)(j) only.
Value parameters
- j
-
indicates which basis function
- m
-
the order of the basis function
- t
-
the time parameter
Attributes
Retrieves the order of the this Fourier basis function
Retrieves the order of the this Fourier basis function
Attributes
The range for the Fourier basis functions.
The range for the Fourier basis functions.
Value parameters
- m
-
the order of the spline
Attributes
The number of usable Fourier basis functions for a specified order, including one constant term and 'm' sin/cos terms.
The number of usable Fourier basis functions for a specified order, including one constant term and 'm' sin/cos terms.
Value parameters
- m
-
the order of the spline
Attributes
String representation of the Fourier Basis Functions
String representation of the Fourier Basis Functions
Attributes
- Definition Classes
-
Any
Inherited methods
Obtain the value of the m-th order basis functions (all) at time 't'. Or alternatively, obtain the basis function by calling bf(m)(j) only. Ex: val x = bf(m)(t) retrieves the value of all the basis functions at 't'. val f = bf(m) retrieves all the basis functions.
Obtain the value of the m-th order basis functions (all) at time 't'. Or alternatively, obtain the basis function by calling bf(m)(j) only. Ex: val x = bf(m)(t) retrieves the value of all the basis functions at 't'. val f = bf(m) retrieves all the basis functions.
Value parameters
- m
-
the order of all the basis function
- t
-
the time parameter
Attributes
- Inherited from:
- BasisFunction
Obtain the value of the m-th order basis functions (all) at time 't'. Or alternatively, obtain the basis function by calling bf(m)(j) only. Ex: val x = bf(m)(t) retrieves the value of all the basis functions at 't'. val f = bf(m) retrieves all the basis functions.
Obtain the value of the m-th order basis functions (all) at time 't'. Or alternatively, obtain the basis function by calling bf(m)(j) only. Ex: val x = bf(m)(t) retrieves the value of all the basis functions at 't'. val f = bf(m) retrieves all the basis functions.
Value parameters
- m
-
the order of all the basis function
- t
-
the time parameter
Attributes
- Inherited from:
- BasisFunction
Obtain the value of the m-th order 'j'-th basis function at time 't'. Or alternatively, obtain the basis function by calling bf(m)(j) only. Ex: val x = bf(m)(j)(t) retrieves the value of the j-th basis function at 't'. val f = bf(m)(j) retrieves the j-th basis function.
Obtain the value of the m-th order 'j'-th basis function at time 't'. Or alternatively, obtain the basis function by calling bf(m)(j) only. Ex: val x = bf(m)(j)(t) retrieves the value of the j-th basis function at 't'. val f = bf(m)(j) retrieves the j-th basis function.
Value parameters
- j
-
indicates which basis function
- m
-
the order of the basis function
- t
-
the time parameter
Attributes
- Inherited from:
- BasisFunction
Obtain the value of the 1st order 'j'-th basis function at time 't'. Or alternatively, obtain the basis function by calling bf1(j) only. Ex: val x = bf1(j)(t) retrieves the value of the j-th basis function at 't'. val f = bf1(j) retrieves the j-th basis function.
Obtain the value of the 1st order 'j'-th basis function at time 't'. Or alternatively, obtain the basis function by calling bf1(j) only. Ex: val x = bf1(j)(t) retrieves the value of the j-th basis function at 't'. val f = bf1(j) retrieves the j-th basis function.
Value parameters
- j
-
indicates which basis function
- t
-
the time parameter
Attributes
- Inherited from:
- BasisFunction
Obtain the value of the 2nd order 'j'-th basis function at time 't'. Or alternatively, obtain the basis function by calling bf2(j) only. Ex: val x = bf2(j)(t) retrieves the value of the j-th basis function at 't'. val f = bf2(j) retrieves the j-th basis function.
Obtain the value of the 2nd order 'j'-th basis function at time 't'. Or alternatively, obtain the basis function by calling bf2(j) only. Ex: val x = bf2(j)(t) retrieves the value of the j-th basis function at 't'. val f = bf2(j) retrieves the j-th basis function.
Value parameters
- j
-
indicates which basis function
- t
-
the time parameter
Attributes
- Inherited from:
- BasisFunction
Obtain the value of the 3rd order 'j'-th basis function at time 't'. Or alternatively, obtain the basis function by calling bf3(j) only. Ex: val x = bf3(j)(t) retrieves the value of the j-th basis function at 't'. val f = bf3(j) retrieves the j-th basis function.
Obtain the value of the 3rd order 'j'-th basis function at time 't'. Or alternatively, obtain the basis function by calling bf3(j) only. Ex: val x = bf3(j)(t) retrieves the value of the j-th basis function at 't'. val f = bf3(j) retrieves the j-th basis function.
Value parameters
- j
-
indicates which basis function
- t
-
the time parameter
Attributes
- Inherited from:
- BasisFunction
Obtain the value of the 4th order 'j'-th basis function at time 't'. Or alternatively, obtain the basis function by calling bf4(j) only. Ex: val x = bf4(j)(t) retrieves the value of the j-th basis function at 't'. val f = bf4(j) retrieves the j-th basis function.
Obtain the value of the 4th order 'j'-th basis function at time 't'. Or alternatively, obtain the basis function by calling bf4(j) only. Ex: val x = bf4(j)(t) retrieves the value of the j-th basis function at 't'. val f = bf4(j) retrieves the j-th basis function.
Value parameters
- j
-
indicates which basis function
- t
-
the time parameter
Attributes
- Inherited from:
- BasisFunction
The number of basis functions for a specified order.
The number of basis functions for a specified order.
Value parameters
- m
-
the order of the basis function
Attributes
- Inherited from:
- BasisFunction
Compute the dot/inner product of 'this' basis function object and basis function 'g'.
Compute the dot/inner product of 'this' basis function object and basis function 'g'.
Value parameters
- a
-
the start of the interval
- b
-
the end of the interval
- g
-
the other function
- i
-
indicates which basis function of 'this'
- j
-
indicates which basis function of 'g'
- m
-
the order of the basis function
Attributes
- Inherited from:
- BasisFunction
Retrieve the cached design matrices.
Recompute cached matrices.