Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat committed Jul 2, 2024
1 parent 91791ed commit c754928
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chebyshev.jl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ struct ChebyshevFirstKind <: AbstractChebyshev end
const Chebyshev = ChebyshevFirstKind

# https://en.wikipedia.org/wiki/Chebyshev_polynomials#Properties
# T_n * T_m = T_{n + m} / 2 + T_{|n - m|} / 2
# `T_n * T_m = T_{n + m} / 2 + T_{|n - m|} / 2`
function (::Mul{Chebyshev})(a::MP.AbstractMonomial, b::MP.AbstractMonomial)
terms = [MP.term(1 // 1, MP.constant_monomial(a * b))]
vars_a = MP.variables(a)
Expand Down

0 comments on commit c754928

Please sign in to comment.