Skip to content

Latest commit

 

History

History
63 lines (47 loc) · 3.16 KB

File metadata and controls

63 lines (47 loc) · 3.16 KB




class Triangle( Kernel )[source]

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

     K( x ) = ( 1 - |x| ) if |x| < 1
              0 elsewhere

Triangle( ) [source]

Constructor.

Using
     integral = 1.0
     fwhm = 1.0

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

Parameters

  • x : array-like
         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