CosSquare = class CosSquare(Kernel) |
|
CosSquare (Cosine Squared) is a Kernel function between [-1,1]; it is 0 elsewhere.
K( x ) = cos^2( 0.5 π x ) if |x| < 1
0 elsewhere |
|
- Method resolution order:
- CosSquare
- Kernel
- builtins.object
Constructor:
- CosSquare()
- Constructor.
Using
integral = 1.0
fwhm = 1.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:
|
|