Skip to content

Latest commit

 

History

History
71 lines (53 loc) · 3.49 KB

File metadata and controls

71 lines (53 loc) · 3.49 KB




class Parabola( Kernel )[source]

Parabola is a Kernel function between [-1,1]; it is 0 elsewhere.

  K( x ) = ( 1-x2 ) if |x| < 1 else 0

Parabola( ) [source]

Constructor.

  Using
  integral = 4.0/3.0
  fwhm = 2 sqrt( 0.5 )

result( x ) [source]
Return the result for input values.

Parameters

  • x : array-like
         input values

resultsq( xsq ) [source]
Return the result for squared input values.

Parameters

  • x : array-like
         the squares of the input values

partial( x ) [source]
Return the partial derivative wrt the input values.

Parameters

  • x : array-like
         the input values

isBound( ) [source]

Return True

name( ) [source]

Return the name of the kernel

Methods inherited from Kernel