{"id":31644189,"url":"https://github.com/juliaalgebra/fixedpolynomials.jl","last_synced_at":"2025-10-07T04:10:07.981Z","repository":{"id":56355744,"uuid":"102372943","full_name":"JuliaAlgebra/FixedPolynomials.jl","owner":"JuliaAlgebra","description":"A package for fast evaluation of multivariate polynomials.","archived":false,"fork":false,"pushed_at":"2021-10-15T22:12:40.000Z","size":136,"stargazers_count":12,"open_issues_count":5,"forks_count":8,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-28T07:04:44.227Z","etag":null,"topics":["julia","multivariate-polynomials","polynomials"],"latest_commit_sha":null,"homepage":"https://JuliaAlgebra.github.io/FixedPolynomials.jl/latest/","language":"Julia","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JuliaAlgebra.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-04T14:57:24.000Z","updated_at":"2024-09-19T08:11:05.000Z","dependencies_parsed_at":"2022-08-15T17:10:43.787Z","dependency_job_id":null,"html_url":"https://github.com/JuliaAlgebra/FixedPolynomials.jl","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/JuliaAlgebra/FixedPolynomials.jl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaAlgebra%2FFixedPolynomials.jl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaAlgebra%2FFixedPolynomials.jl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaAlgebra%2FFixedPolynomials.jl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaAlgebra%2FFixedPolynomials.jl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JuliaAlgebra","download_url":"https://codeload.github.com/JuliaAlgebra/FixedPolynomials.jl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaAlgebra%2FFixedPolynomials.jl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278717441,"owners_count":26033544,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["julia","multivariate-polynomials","polynomials"],"created_at":"2025-10-07T04:07:08.417Z","updated_at":"2025-10-07T04:10:07.975Z","avatar_url":"https://github.com/JuliaAlgebra.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FixedPolynomials\n\n| **Documentation** | **Build Status** |\n|:-----------------:|:----------------:|\n| [![][docs-stable-img]][docs-stable-url] | [![Build Status][build-img]][build-url] [![Build Status][winbuild-img]][winbuild-url] |\n| [![][docs-latest-img]][docs-latest-url] | [![Codecov branch][codecov-img]][codecov-url] |\n\n[FixedPolynomials.jl](https://github.com/juliaalgebra/FixedPolynomials.jl) is a library for\n*really fast* evaluation of multivariate polynomials.\n[Here](https://github.com/juliaalgebra/FixedPolynomials.jl/pull/3) are the latest benchmark results.\n\nSince `FixedPolynomials` polynomials are optimised for fast evaluation they are not suited\nfor construction of polynomials.\nIt is recommended to construct a polynomial with an implementation of\n[MultivariatePolynomials.jl](https://github.com/juliaalgebra/MultivariatePolynomials.jl), e.g.\n[DynamicPolynomials.jl](https://github.com/juliaalgebra/DynamicPolynomials.jl), and to\nconvert it then into a `FixedPolynomials.Polynomial` for further computations.\n\n## Getting started\nHere is an example on how to create a `Polynomial` with `Float64` coefficients:\n```julia\nusing FixedPolynomials\nimport DynamicPolynomials: @polyvar\n\n@polyvar x y z\n\nf = Polynomial{Float64}(x^2+y^3*z-2x*y)\n```\nTo evaluate `f` you simply have to pass in a `Vector{Float64}`\n```julia\nx = rand(3)\nf(x) # alternatively evaluate(f, x)\n```\n\nBut this is not the fastest way possible. In order to achieve the best performance we need to precompute some things and also preallocate\nintermediate storage. For this we have [`GradientConfig`](@ref) and [`JacobianConfig`](@ref).\nFor single polynomial the API is as follows\n```julia\ncfg = GradientConfig(f) # this can be reused!\nf(x) == evaluate(f, x, cfg)\n# We can also compute the gradient of f at x\nmap(g -\u003e g(x), ∇f) == gradient(f, x, cfg)\n```\n\nWe also have support for systems of polynomials:\n```julia\ncfg = JacobianConfig([f, f]) # this can be reused!\n[f(x), f(x)] == evaluate([f, f] x, cfg)\n# We can also compute the jacobian of [f, f] at x\njacobian(f, x, cfg)\n```\n\n[docs-stable-img]: https://img.shields.io/badge/docs-stable-blue.svg\n[docs-latest-img]: https://img.shields.io/badge/docs-latest-blue.svg\n[docs-stable-url]: https://juliaalgebra.github.io/FixedPolynomials.jl/stable\n[docs-latest-url]: https://juliaalgebra.github.io/FixedPolynomials.jl/latest\n\n[build-img]: https://travis-ci.org/JuliaAlgebra/FixedPolynomials.jl.svg?branch=master\n[build-url]: https://travis-ci.org/JuliaAlgebra/FixedPolynomials.jl\n[winbuild-img]: https://ci.appveyor.com/api/projects/status/h2yw6aoq480e1etd/branch/master?svg=true\n[winbuild-url]: https://ci.appveyor.com/project/juliaalgebra/fixedpolynomials-jl/branch/master\n[codecov-img]: https://codecov.io/gh/juliaalgebra/FixedPolynomials.jl/branch/master/graph/badge.svg\n[codecov-url]: https://codecov.io/gh/juliaalgebra/FixedPolynomials.jl\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuliaalgebra%2Ffixedpolynomials.jl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuliaalgebra%2Ffixedpolynomials.jl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuliaalgebra%2Ffixedpolynomials.jl/lists"}