Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat committed May 14, 2024
1 parent ed03cca commit 137827e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions test/chebyshev.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@ using Test
using MultivariateBases
using DynamicPolynomials

@polyvar x y
a = MultivariateBases.Polynomial{Chebyshev}(x)
b = MultivariateBases.Polynomial{Chebyshev}(y)
a2 = a * a
typeof(a)
typeof(a2)
a2 * a2
basis = MultivariateBases.MonomialIndexedBasis{Chebyshev,monomial_type(x)}()
c = MultivariateBases.SA.AlgebraElement(MultivariateBases.SA.Dirac(x^2, 3),
MultivariateBases.SA.StarAlgebra(
MultivariateBases.Polynomial{Chebyshev}(constant_monomial(x)),
basis,
),
)

@testset "StarAlgebras" begin
@polyvar x
a = MultivariateBases.Polynomial{Chebyshev}(x)
Expand Down

0 comments on commit 137827e

Please sign in to comment.