Navigation
class Cosine( Kernel ) | Source |
---|
Cosine is a Kernel function between [-1,1]; it is 0 elsewhere.
K( x ) = cos( 0.5 π x ) if |x| < 1 else 0
Cosine( ) |
---|
Constructor.
Using
integral = 4 / π
fwhm = 4.0 / 3.0
result( x ) |
---|
Parameters
- x : array_like
at which to do the calculation
partial( x ) |
---|
Parameters
- x : array-like
the input values
isBound( ) |
---|
name( ) |
---|
Return the name of the kernel
Methods inherited from Kernel |
---|