Packages

class DFourier extends Fourier with DBasisFunction

The DFourier class provides Fourier basis functions with derivatives. Such basis functions are useful are useful for fitting periodic data in Functional Data Analysis.

See also

en.wikipedia.org/wiki/Fourier_series

Linear Supertypes
DBasisFunction, Fourier, Error, BasisFunction, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DFourier
  2. DBasisFunction
  3. Fourier
  4. Error
  5. BasisFunction
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DFourier(w: Double = 2.0 * Pi, mMax: Int = 4)

    w

    the fundamental frequency parameter

    mMax

    the number of sin/cos pairs to be used in the basis function

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def abf(m: Int)(t: VectoD): MatrixD

    Obtain the value of the m-th order basis functions (all) at time 't'.

    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.

    m

    the order of all the basis function

    t

    the time parameter

    Definition Classes
    BasisFunction
  5. def abf_(m: Int)(t: Double): VectorD

    Obtain the value of the m-th order basis functions (all) at time 't'.

    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.

    m

    the order of all the basis function

    t

    the time parameter

    Definition Classes
    BasisFunction
  6. def apply(m: Int)(j: Int)(t: Double): Double

    Obtain the value of the m-th order 'j'-th basis function at time 't'.

    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.

    m

    the order of the basis function

    j

    indicates which basis function

    t

    the time parameter

    Definition Classes
    BasisFunction
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def bf(m: Int = mMax)(j: Int)(t: Double): Double

    Obtain the value of the m-th order 'j'-th basis function at time 't'.

    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.

    m

    the order of the basis function

    j

    indicates which basis function

    t

    the time parameter

    Definition Classes
    FourierBasisFunction
  9. def bf1(j: Int)(t: Double): Double

    Obtain the value of the 1st order 'j'-th basis function at time 't'.

    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.

    j

    indicates which basis function

    t

    the time parameter

    Definition Classes
    BasisFunction
  10. def bf2(j: Int)(t: Double): Double

    Obtain the value of the 2nd order 'j'-th basis function at time 't'.

    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.

    j

    indicates which basis function

    t

    the time parameter

    Definition Classes
    BasisFunction
  11. def bf3(j: Int)(t: Double): Double

    Obtain the value of the 3rd order 'j'-th basis function at time 't'.

    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.

    j

    indicates which basis function

    t

    the time parameter

    Definition Classes
    BasisFunction
  12. def bf4(j: Int)(t: Double): Double

    Obtain the value of the 4th order 'j'-th basis function at time 't'.

    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.

    j

    indicates which basis function

    t

    the time parameter

    Definition Classes
    BasisFunction
  13. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  14. def count(m: Int): Int

    The number of basis functions for a specified order.

    The number of basis functions for a specified order.

    m

    the order of the basis function

    Definition Classes
    BasisFunction
  15. def d1bf(m: Int)(j: Int)(t: Double): Double

    Obtain the value of 1st derivative of the m-th order 'j'-th basis function at time 't'.

    Obtain the value of 1st derivative of the m-th order 'j'-th basis function at time 't'. Or alternatively, obtain the 1st derivative basis function by calling d1bf(m)(j) only. Ex: val x = d1bf(m)(j)(t) retrieves the 1st derivative value of the j-th basis function at 't'. val f = d1bf(m)(j) retrieves the 1st derivative of the j-th basis function.

    m

    the order of the basis function

    j

    indicates which basis function

    t

    the time parameter

    Definition Classes
    DBasisFunction
  16. def d2bf(m: Int)(j: Int)(t: Double): Double

    Obtain the value of 2nd derivative of the m-th order 'j'-th basis function at time 't'.

    Obtain the value of 2nd derivative of the m-th order 'j'-th basis function at time 't'. Or alternatively, obtain the 2nd derivative basis function by calling d2bf(m)(j) only. Ex: val x = d2bf(m)(j)(t) retrieves the 2nd derivative value of the j-th basis function at 't'. val f = d2bf(m)(j) retrieves the 2nd derivative of the j-th basis function.

    m

    the order of the basis function

    j

    indicates which basis function

    t

    the time parameter

    Definition Classes
    DBasisFunction
  17. def dnabf(n: Int)(m: Int)(t: VectoD): MatrixD

    Obtain the value of nth derivative of the m-th order basis functions (all) at time 't'.

    Obtain the value of nth derivative of the m-th order basis functions (all) at time 't'. Or alternatively, obtain the basis function by calling dnabf(m)(j) only. Ex: val x = dnabf(n)(m)(t) retrieves the nth derivative value of the value of all the basis functions at 't'. val f = dnabf(n)(m) retrieves the nth derivative value of all the basis functions.

    n

    the order of the derivative

    m

    the order of all the basis function

    t

    the time parameter

    Definition Classes
    DBasisFunction
  18. def dnabf_(n: Int)(m: Int)(t: Double): VectorD

    Obtain the value of nth derivative of the m-th order basis functions (all) at time 't'.

    Obtain the value of nth derivative of the m-th order basis functions (all) at time 't'. Or alternatively, obtain the basis function by calling dnabf(m)(j) only. Ex: val x = dnabf(n)(m)(t) retrieves the nth derivative value of the value of all the basis functions at 't'. val f = dnabf(n)(m) retrieves the nth derivative value of all the basis functions.

    n

    the order of the derivative

    m

    the order of all the basis function

    t

    the time parameter

    Definition Classes
    DBasisFunction
  19. def dnbf(n: Int)(m: Int)(j: Int)(t: Double): Double

    Obtain the value of nth derivative of the m-th order 'j'-th basis function at time 't'.

    Obtain the value of nth derivative of the m-th order 'j'-th basis function at time 't'. Or alternatively, obtain the nth derivative basis function by calling dnbf(n)(m)(j) only. Ex: val x = dnbf(n)(m)(j)(t) retrieves the nth derivative value of the j-th basis function at 't'. val f = dnbf(n)(m)(j) retrieves the nth derivative of the j-th basis function.

    n

    the order of the derivative

    m

    the order of the basis function

    j

    indicates which basis function

    t

    the time parameter

    Definition Classes
    DFourierDBasisFunction
  20. def dot_(n: Int)(m: Int)(i: Int, j: Int)(g: DBasisFunction, a: Double, b: Double): Double

    Compute the dot/inner product of nth derivative of 'this' basis function and that of basis function 'g'.

    Compute the dot/inner product of nth derivative of 'this' basis function and that of basis function 'g'.

    n

    the order of the derivative

    m

    the order of the basis function

    j

    indicates which basis function

    g

    the other function

    a

    the start of the interval

    b

    the end of the interval

    Definition Classes
    DBasisFunction
  21. def dot_(m: Int)(i: Int, j: Int)(g: BasisFunction, a: Double = 0.0, b: Double = 1.0): Double

    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'.

    m

    the order of the basis function

    i

    indicates which basis function of 'this'

    j

    indicates which basis function of 'g'

    g

    the other function

    a

    the start of the interval

    b

    the end of the interval

    Definition Classes
    BasisFunction
  22. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  24. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  25. final def flaw(method: String, message: String): Unit
    Definition Classes
    Error
  26. def getCache(m: Int, t: VectoD): Array[MatrixD]

    Retrieves the cached design matrices and penalty matrices

    Retrieves the cached design matrices and penalty matrices

    m

    the order of all the basis function

    t

    the time parameter

    Definition Classes
    DBasisFunctionBasisFunction
  27. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  28. def getOrder: Int

    Retrieves the order of the this Fourier basis function

    Retrieves the order of the this Fourier basis function

    Definition Classes
    FourierBasisFunction
  29. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  30. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  31. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. val needCompute: Boolean
    Attributes
    protected
    Definition Classes
    BasisFunction
  33. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  35. def range(m: Int = mMax): Range

    The range for the Fourier basis functions

    The range for the Fourier basis functions

    m

    the order of the spline

    Definition Classes
    FourierBasisFunction
  36. def recomputeCache: Unit

    Recompute cached matrices

    Recompute cached matrices

    Definition Classes
    BasisFunction
  37. def size(m: Int = mMax): Int

    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

    m

    the order of the spline

    Definition Classes
    FourierBasisFunction
  38. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  39. def toString(): String

    String representation of the Fourier Basis Functions

    String representation of the Fourier Basis Functions

    Definition Classes
    Fourier → AnyRef → Any
  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  43. val Σ: MatrixD
    Attributes
    protected
    Definition Classes
    DBasisFunction
  44. val Φ: MatrixD
    Attributes
    protected
    Definition Classes
    BasisFunction
  45. val Φt: MatrixD
    Attributes
    protected
    Definition Classes
    BasisFunction
  46. val ΦtΦ: MatrixD
    Attributes
    protected
    Definition Classes
    BasisFunction

Inherited from DBasisFunction

Inherited from Fourier

Inherited from Error

Inherited from BasisFunction

Inherited from AnyRef

Inherited from Any

Ungrouped