ChebyshevExpansion

ChebyshevExpansion#

class nfflr.nn.ChebyshevExpansion(basis_size: int)[source]#

Expand features in (-1, 1) interval with Chebyshev basis.

Methods

forward(x)

Trigonometric definition of Chebyshev polynomial basis for |x| lq 1.

forward(x)[source]#

Trigonometric definition of Chebyshev polynomial basis for |x| lq 1.

Tn(cos(theta)) = cos(n theta)