https://github.com/fgerick/multivariatepolynomials.jl
Multivariate polynomials interface
Science Score: 10.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
○DOI references
-
✓Academic publication links
Links to: zenodo.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.0%) to scientific vocabulary
Last synced: 5 months ago
·
JSON representation
Repository
Multivariate polynomials interface
Basic Info
- Host: GitHub
- Owner: fgerick
- License: other
- Language: Julia
- Default Branch: master
- Homepage: https://juliaalgebra.github.io/MultivariatePolynomials.jl/stable/
- Size: 706 KB
Statistics
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
- Releases: 0
Fork of JuliaAlgebra/MultivariatePolynomials.jl
Created almost 6 years ago
· Last pushed over 5 years ago
https://github.com/fgerick/MultivariatePolynomials.jl/blob/master/
# Multivariate Polynomials | **Documentation** | **Build Status** | **Social** | **References to cite** | |:-----------------:|:----------------:|:----------:|:----------------------:| | [![][docs-stable-img]][docs-stable-url] | [![Build Status][build-img]][build-url] [![Build Status][winbuild-img]][winbuild-url] | [![Gitter][gitter-img]][gitter-url] | [![DOI][zenodo-img]][zenodo-url] | | [![][docs-latest-img]][docs-latest-url] | [![Coveralls branch][coveralls-img]][coveralls-url] [![Codecov branch][codecov-img]][codecov-url] | [][discourse-url] | | This package provides an interface for manipulating multivariate polynomials. Implementing algorithms on polynomials using this interface will allow the algorithm to work for all polynomials implementing the interface. The interface contains functions for accessing the coefficients, monomials, terms of the polynomial, defines arithmetic operations on them, rational functions, division with remainder, calculus/differentiation and evaluation/substitution. ## Documentation - [**STABLE**][docs-stable-url] — **most recently tagged version of the documentation.** - [**LATEST**][docs-latest-url] — *in-development version of the documentation.* ## Examples Below is a simple usage example ```julia using TypedPolynomials @polyvar x y # assigns x (resp. y) to a variable of name x (resp. y) p = 2x + 3.0x*y^2 + y @test differentiate(p, x) # compute the derivative of p with respect to x @test differentiate.(p, (x, y)) # compute the gradient of p @test p((x, y)=>(y, x)) # replace any x by y and y by x @test subs(p, y=>x^2) # replace any occurence of y by x^2 @test p(x=>1, y=>2) # evaluate p at [1, 2] ``` Below is an example with `@polyvar x[1:3]` ```julia using TypedPolynomials A = rand(3, 3) @polyvar x[1:3] # assign x to a tuple of variables x1, x2, x3 p = sum(x .* x) # x_1^2 + x_2^2 + x_3^2 subs(p, x[1]=>2, x[3]=>3) # x_2^2 + 13 p(x=>A*vec(x)) # corresponds to dot(A*x, A*x), need vec to convert the tuple to a vector ``` ## Ecosystem The following packages provides multivariate polynomials that implement the interface: * [TypedPolynomials](https://github.com/rdeits/TypedPolynomials.jl) : Commutative polynomials of arbitrary coefficient types * [DynamicPolynomials](https://github.com/JuliaAlgebra/DynamicPolynomials.jl) : Commutative and non-commutative polynomials of arbitrary coefficient types The following packages extend/use the interface: * [SemialgebraicSets](https://github.com/JuliaAlgebra/SemialgebraicSets.jl) : Sets defined by inequalities and equalities between polynomials and algorithms for solving polynomial systems of equations. * [FixedPolynomials](https://github.com/JuliaAlgebra/FixedPolynomials.jl) : Fast evaluation of multivariate polynomials * [HomotopyContinuation](https://github.com/saschatimme/HomotopyContinuation.jl) : Solving systems of polynomials via homotopy continuation. * [MultivariateMoments](https://github.com/JuliaAlgebra/MultivariateMoments.jl) : Moments of multivariate measures and their scalar product with polynomials. * [PolyJuMP](https://github.com/JuliaOpt/PolyJuMP.jl) : A [JuMP](https://github.com/JuliaOpt/JuMP.jl) extension for Polynomial Optimization. * [SumOfSquares](https://github.com/JuliaOpt/SumOfSquares.jl) : Certifying the nonnegativity of polynomials, minimizing/maximizing polynomials and optimization over sum of squares polynomials using Sum of Squares Programming. ### See also * [Nemo](https://github.com/wbhart/Nemo.jl) for generic polynomial rings, matrix spaces, fraction fields, residue rings, power series * [Polynomials](https://github.com/Keno/Polynomials.jl) for univariate polynomials * [PolynomialRoots](https://github.com/giordano/PolynomialRoots.jl) for a fast complex polynomial root finder [docs-stable-img]: https://img.shields.io/badge/docs-stable-blue.svg [docs-latest-img]: https://img.shields.io/badge/docs-latest-blue.svg [docs-stable-url]: https://JuliaAlgebra.github.io/MultivariatePolynomials.jl/stable [docs-latest-url]: https://JuliaAlgebra.github.io/MultivariatePolynomials.jl/latest [build-img]: https://travis-ci.org/JuliaAlgebra/MultivariatePolynomials.jl.svg?branch=master [build-url]: https://travis-ci.org/JuliaAlgebra/MultivariatePolynomials.jl [winbuild-img]: https://ci.appveyor.com/api/projects/status/4l5i8sbxev8405jl?svg=true [winbuild-url]: https://ci.appveyor.com/project/blegat/multivariatepolynomials-jl [coveralls-img]: https://coveralls.io/repos/github/JuliaAlgebra/MultivariatePolynomials.jl/badge.svg?branch=master [coveralls-url]: https://coveralls.io/github/JuliaAlgebra/MultivariatePolynomials.jl?branch=master [codecov-img]: http://codecov.io/github/JuliaAlgebra/MultivariatePolynomials.jl/coverage.svg?branch=master [codecov-url]: http://codecov.io/github/JuliaAlgebra/MultivariatePolynomials.jl?branch=master [gitter-url]: https://gitter.im/JuliaAlgebra/Lobby?utm_source=share-link&utm_medium=link&utm_campaign=share-link [gitter-img]: https://badges.gitter.im/JuliaAlgebra/Lobby.svg [discourse-url]: https://discourse.julialang.org/c/domain/opt [zenodo-url]: https://zenodo.org/badge/latestdoi/72210778 [zenodo-img]: https://zenodo.org/badge/72210778.svg
Owner
- Name: Felix Gerick
- Login: fgerick
- Kind: user
- Location: Toulouse
- Company: French National Centre for Space Studies (CNES)
- Website: fgerick.github.io
- Repositories: 5
- Profile: https://github.com/fgerick
Researcher in rotating fluid dynamics in planetary cores