Cosine = class Cosine(Kernel) |
|
Cosine is a Kernel function between [-1,1]; it is 0 elsewhere.
K( x ) = cos( 0.5 π x ) if |x| < 1
0 elsewhere |
|
- Method resolution order:
- Cosine
- Kernel
- builtins.object
Constructor:
- Cosine()
- Constructor.
Using
integral = 4 / π
fwhm = 4.0 / 3.0
Methods defined here:
- isBound()
- Return true when the kernel is bound.
All non-zero values are between -1 and +1
- name()
- Return the name of the kernel.
- partial( x )
- Return the partial derivative wrt input value.
Parameters
----------
x : array-like
the input value
- result( x )
- Return the result for one input value.
Parameters
----------
x : array-like
the input value
- resultsq( xsq )
- Return the result for one input value.
Parameters
----------
x : array-like
the input value
Parameters: x the square of the input value
Methods inherited from Kernel:
|
|