From 137827ea636d1c9b49671a82a1fb86b6c7d769ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Legat?= Date: Thu, 9 May 2024 21:24:44 +0200 Subject: [PATCH] wip --- test/chebyshev.jl | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/test/chebyshev.jl b/test/chebyshev.jl index fda6013..41b3bcd 100644 --- a/test/chebyshev.jl +++ b/test/chebyshev.jl @@ -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)