Description Details Usage Arguments Methods Examples
This class creates a basis of length d, which generates a d-dimensional linear subspace of L^2[0,1]. Specifically, a trigonometric basis and a histogramm basis are provided as options.
Note that the parent class Basis
is merely there for construction purposes. An object generated by
Basis$new(d) is not of much use to the user. Therefore one should always generat an object of a subclass of Basis
,
i.e. an object of class Trig_Basis
or Hist_Basis
1 2 3 4 5 6 7 8 | trig_bas <- Trig_Basis$new(d)
hist_bas <- Hist_Basis$new(d)
trig_bas$get_function(j)
trig_bas$dimension
hist_bas$get_function(j)
hist_bas$dimension
|
a natural number which specifies the dimension of the subsapce generated by the object of class basis.
a natural number smaller or equal to d
which specifies which basis function is returned.
$new()
generates a new Basis
object dependent on the input d
.
$get_function()
returns the jth basis function j
.
$dimension
returns the dimension of the vector space generated by the object of the class.
1 2 3 4 5 6 7 | trig_bas <- Trig_Basis$new(10)
trig_bas$get_function(4)
trig_bas
hist_bas <- Hist_Basis$new(10)
hist_bas$get_function(5)
hist_bas
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.