TaylorSeries.jl

TaylorSeries.jl: Taylor expansions in one and several variables in Julia - Published in JOSS (2019)

https://github.com/juliadiff/taylorseries.jl

Science Score: 100.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 5 DOI reference(s) in README and JOSS metadata
  • Academic publication links
    Links to: joss.theoj.org, zenodo.org
  • Committers with academic emails
    1 of 29 committers (3.4%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
    Published in Journal of Open Source Software

Keywords

automatic-differentiation julia polynomials taylor-expansions

Keywords from Contributors

chaos physics dynamical-systems mathematics fluxes graphics the-human-brain attractor complexity delay-coordinates
Last synced: 4 months ago · JSON representation ·

Repository

Taylor polynomial expansions in one and several independent variables.

Basic Info
  • Host: GitHub
  • Owner: JuliaDiff
  • License: other
  • Language: Julia
  • Default Branch: master
  • Homepage:
  • Size: 5.29 MB
Statistics
  • Stars: 359
  • Watchers: 16
  • Forks: 52
  • Open Issues: 34
  • Releases: 68
Topics
automatic-differentiation julia polynomials taylor-expansions
Created almost 12 years ago · Last pushed 4 months ago
Metadata Files
Readme License Citation

README.md

TaylorSeries.jl

A Julia package for Taylor polynomial expansions in one or more independent variables.

CI Coverage Status

DOI DOI

Authors

  • Luis Benet, Instituto de Ciencias Físicas, Universidad Nacional Autónoma de México (UNAM)
  • David P. Sanders, Facultad de Ciencias, Universidad Nacional Autónoma de México (UNAM)

Comments, suggestions and improvements are welcome and appreciated.

Examples

Taylor series in one variable ```julia julia> using TaylorSeries

julia> t = Taylor1(Float64, 5) 1.0 t + 𝒪(t⁶)

julia> exp(t) 1.0 + 1.0 t + 0.5 t² + 0.16666666666666666 t³ + 0.041666666666666664 t⁴ + 0.008333333333333333 t⁵ + 𝒪(t⁶)

julia> log(1 + t) 1.0 t - 0.5 t² + 0.3333333333333333 t³ - 0.25 t⁴ + 0.2 t⁵ + 𝒪(t⁶) Multivariate Taylor series julia julia> x, y = set_variables("x y", order=2);

julia> exp(x + y) 1.0 + 1.0 x + 1.0 y + 0.5 x² + 1.0 x y + 0.5 y² + 𝒪(‖x‖³)

Differential and integral calculus on Taylor series: julia julia> x, y = set_variables("x y", order=4);

julia> p = x^3 + 2x^2 * y - 7x + 2 2.0 - 7.0 x + 1.0 x³ + 2.0 x² y + 𝒪(‖x‖⁵)

julia> ∇(p) 2-element Array{TaylorN{Float64},1}: - 7.0 + 3.0 x² + 4.0 x y + 𝒪(‖x‖⁵) 2.0 x² + 𝒪(‖x‖⁵)

julia> integrate(p, 1) 2.0 x - 3.5 x² + 0.25 x⁴ + 0.6666666666666666 x³ y + 𝒪(‖x‖⁵)

julia> integrate(p, 2) 2.0 y - 7.0 x y + 1.0 x³ y + 1.0 x² y² + 𝒪(‖x‖⁵) ```

For more details, please see the docs.

License

TaylorSeries is licensed under the MIT "Expat" license.

Installation

TaylorSeries can be installed simply with using Pkg; Pkg.add("TaylorSeries").

Contributing

There are many ways to contribute to this package:

  • Report an issue if you encounter some odd behavior, or if you have suggestions to improve the package.
  • Contribute with code addressing some open issues, that add new functionality or that improve the performance.
  • When contributing with code, add docstrings and comments, so others may understand the methods implemented.
  • Contribute by updating and improving the documentation.

References

  • W. Tucker, Validated numerics: A short introduction to rigorous computations, Princeton University Press (2011).
  • A. Haro, Automatic differentiation methods in computational dynamical systems: Invariant manifolds and normal forms of vector fields at fixed points, preprint.

Acknowledgments

This project began (using python) during a Masters' course in the postgraduate programs in Physics and in Mathematics at UNAM, during the second half of 2013. We thank the participants of the course for putting up with the half-baked material and contributing energy and ideas.

We acknowledge financial support from DGAPA-UNAM PAPIME grants PE-105911 and PE-107114, and DGAPA-PAPIIT grants IG-101113, IG-100616, IG-100819 and IG-101122. LB acknowledges support through a Cátedra Moshinsky (2013).

Owner

  • Name: JuliaDiff
  • Login: JuliaDiff
  • Kind: organization

Differentiation Tools in Julia

JOSS Publication

TaylorSeries.jl: Taylor expansions in one and several variables in Julia
Published
April 07, 2019
Volume 4, Issue 36, Page 1043
Authors
Luis Benet ORCID
Instituto de Ciencias Físicas, Universidad Nacional Autónoma de México (UNAM)
David P. Sanders ORCID
Departamento de Física, Facultad de Ciencias, Universidad Nacional Autónoma de México (UNAM)
Editor
Jed Brown ORCID
Tags
Taylor series Automatic differentiation

Citation (CITATION.bib)

% This article is the paper on TaylorSeries.jl
@article{TaylorSeries.jl-2019,
  title = {{TaylorSeries}.jl: Taylor expansions in one and several variables in Julia},
  author = {Luis Benet and David P. Sanders},
  journal = {Journal of Open Source Software}
  doi = {10.21105/joss.01043},
  url = {https://doi.org/10.21105/joss.01043},
  year = {2019},
  month = apr,
  publisher = {The Open Journal},
  volume = {4},
  number = {36},
  pages = {1043},
}

% This is Zenodo's bibtex entry (all versions)
@misc{TaylorSeries.jl-zenodo,
  author       = {Luis Benet and David P. Sanders},
  title        = {JuliaDiff/TaylorSeries.jl},
  publisher    = {Zenodo},
  doi          = {10.5281/zenodo.2601941},
  url          = {https://doi.org/10.5281/zenodo.2601941}
}

GitHub Events

Total
  • Create event: 18
  • Commit comment event: 21
  • Release event: 9
  • Issues event: 11
  • Watch event: 12
  • Delete event: 6
  • Issue comment event: 44
  • Push event: 89
  • Pull request review event: 4
  • Pull request review comment event: 5
  • Pull request event: 22
  • Fork event: 1
Last Year
  • Create event: 18
  • Commit comment event: 21
  • Release event: 9
  • Issues event: 11
  • Watch event: 12
  • Delete event: 6
  • Issue comment event: 44
  • Push event: 89
  • Pull request review event: 4
  • Pull request review comment event: 5
  • Pull request event: 22
  • Fork event: 1

Committers

Last synced: 5 months ago

All Time
  • Total Commits: 457
  • Total Committers: 29
  • Avg Commits per committer: 15.759
  • Development Distribution Score (DDS): 0.545
Past Year
  • Commits: 11
  • Committers: 3
  • Avg Commits per committer: 3.667
  • Development Distribution Score (DDS): 0.182
Top Committers
Name Email Commits
Luis Benet b****t@f****x 208
Luis Benet l****t 139
David P. Sanders d****s@g****m 37
Jorge Pérez P****z 23
Blas Kolic b****c@c****x 15
KronosTheLate 6****e 4
Paweł Biernat p****b@g****m 4
Daniel Karrasch d****h@p****e 3
Jed Brown j****d@j****g 3
Marcelo Forets m****s@g****m 2
Uziel Linares u****z@g****m 1
Alexander Seiler s****x@g****m 1
Charles Kawczynski c****i@g****m 1
Christian Schilling c****g@u****e 1
Gabriele Bozzola s****r@g****m 1
Guillermo A. Perez g****4@g****m 1
Joseph Wilson j****w@g****m 1
Julia TagBot 5****t 1
LuEdRaMo 7****o 1
Mason Protter m****r@g****m 1
Morten Piibeleht m****t@g****m 1
Navid C. Constantinou n****y 1
Richard Mikael Slevinsky R****y@u****a 1
Tony Kelman t****y@k****t 1
Viral B. Shah V****h 1
adamnemecek a****k@g****m 1
dapias d****s@g****m 1
matthieubulte m****6@g****m 1
patkwee p****e 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 4 months ago

All Time
  • Total issues: 67
  • Total pull requests: 105
  • Average time to close issues: 9 months
  • Average time to close pull requests: 5 months
  • Total issue authors: 37
  • Total pull request authors: 23
  • Average comments per issue: 5.96
  • Average comments per pull request: 4.75
  • Merged pull requests: 96
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 5
  • Pull requests: 16
  • Average time to close issues: 5 days
  • Average time to close pull requests: 4 days
  • Issue authors: 5
  • Pull request authors: 3
  • Average comments per issue: 3.4
  • Average comments per pull request: 0.5
  • Merged pull requests: 16
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • lbenet (9)
  • PerezHz (5)
  • dpsanders (5)
  • Li-shiyue (4)
  • lrnv (2)
  • matthieubulte (2)
  • patkwee (2)
  • qwertyjl (2)
  • rcalxrc08 (2)
  • SebastianAment (2)
  • dlfivefifty (2)
  • KronosTheLate (2)
  • baggepinnen (2)
  • mongibellili (2)
  • evolbeginner (1)
Pull Request Authors
  • lbenet (66)
  • PerezHz (28)
  • KronosTheLate (4)
  • LuEdRaMo (3)
  • dkarrasch (3)
  • mohamed82008 (2)
  • blas-ko (2)
  • adamnemecek (2)
  • dpsanders (2)
  • gaperez64 (2)
  • ranocha (1)
  • Sbozzolo (1)
  • ViralBShah (1)
  • goggle (1)
  • navidcy (1)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • julia 621 total
  • Total dependent packages: 21
  • Total dependent repositories: 0
  • Total versions: 60
juliahub.com: TaylorSeries

Taylor polynomial expansions in one and several independent variables.

  • Versions: 60
  • Dependent Packages: 21
  • Dependent Repositories: 0
  • Downloads: 621 Total
Rankings
Stargazers count: 2.6%
Forks count: 3.0%
Dependent packages count: 3.6%
Average: 4.8%
Dependent repos count: 10.1%
Last synced: 4 months ago

Dependencies

.github/workflows/TagBot.yml actions
  • JuliaRegistries/TagBot v1 composite
.github/workflows/ci.yml actions
  • actions/cache v1 composite
  • actions/checkout v2 composite
  • coverallsapp/github-action master composite
  • julia-actions/julia-buildpkg v1 composite
  • julia-actions/julia-processcoverage v1 composite
  • julia-actions/julia-runtest v1 composite
  • julia-actions/setup-julia v1 composite
.github/workflows/docs.yml actions
  • actions/checkout v2 composite
  • julia-actions/setup-julia latest composite