TypedPolynomials.jl icon indicating copy to clipboard operation
TypedPolynomials.jl copied to clipboard

MultivariatePolynomials implementation using typed variables in Julia

Results 10 TypedPolynomials.jl issues
Sort by recently updated
recently updated
newest added

Plotting the solution set of $h(x)=0$ where the function $h(x)$ is a `TypedPolynomial` does not work with `ImplicitPlots.jl`: ```julia julia> using Plots, ImplicitPlots julia> using TypedPolynomials julia> @polyvar y[1:2] (y₁,...

As proposed in #80 , here is a PR with the implementation of an `antidifferentiate` function, proposed here : https://github.com/JuliaAlgebra/MultivariatePolynomials.jl/pull/230. I copy below the description of the MultiVariatePolynomials PR#230 below:...

Hi, I was looking for a way to symbolically integrate a MultiVariate polynomial, or at least to find a primitive. I ended up writing the below code to find it....

I'm trying to create a vector of monomials for many variables. It fails if the number of variables exceeds a single digit (>9) with the error `ArgumentError: Variables must be...

```julia using MultivariatePolynomials using TypedPolynomials const X = @polyvar X[1:10] julia> MultivariatePolynomials.monomials(X[1:10], 2) ERROR: ArgumentError: Variables must be in order julia> MultivariatePolynomials.monomials(X[1:9], 2) # ok ``` Maybe the name should...

```julia @polyvar X[1:N] current = 1 xs = [xi * c for xi in x for c in current] 10-element Vector{Term{Int64, M} where M dot(xs, rand(10)) ERROR: MethodError: no method...

I have some code involving polynomials that I'd like to make generic in dimension. To be precise, consider the following bit of code: ```julia @polyvar x[1:2] p = sum(x.^2) #......

```julia julia> @polyvar x y julia> [x^2+x+y y+x; 1 + x x*y+x] ERROR: MethodError: no method matching Polynomial{Int64,T,V} where V

[Here](https://gist.github.com/saschatimme/bc9f953bcce0303faea39274d0dff0b4) is a gist with benchmarks for one polynomial in 2 and one with 3 variables. It is using the new MultivariatePolynomials API from @blegat but I also checked against...

Can we get the coefficient of *just* x^2 when computing (x + y) * (x + y)? (and not compute the other coefficients)