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

A julia package for Taylor polynomial expansions in one and several independent variables.

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

Science Score: 23.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
    Found 4 DOI reference(s) in README
  • Academic publication links
    Links to: joss.theoj.org, zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.2%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

A julia package for Taylor polynomial expansions in one and several independent variables.

Basic Info
  • Host: GitHub
  • Owner: AshtonSBradley
  • License: other
  • Default Branch: master
  • Homepage:
  • Size: 4.3 MB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Fork of JuliaDiff/TaylorSeries.jl
Created over 4 years ago · Last pushed over 4 years ago

https://github.com/AshtonSBradley/TaylorSeries.jl/blob/master/

# TaylorSeries.jl

A [Julia](http://julialang.org) package for Taylor polynomial expansions in one or more
independent variables.

[![CI](https://github.com/JuliaDiff/TaylorSeries.jl/workflows/CI/badge.svg)](https://github.com//JuliaDiff/TaylorSeries.jl/actions)
[![Coverage Status](https://coveralls.io/repos/github/JuliaDiff/TaylorSeries.jl/badge.svg?branch=master)](https://coveralls.io/github/JuliaDiff/TaylorSeries.jl?branch=master)

[![](https://img.shields.io/badge/docs-stable-blue.svg)](https://juliadiff.org/TaylorSeries.jl/stable)
[![](https://img.shields.io/badge/docs-latest-blue.svg)](https://juliadiff.org/TaylorSeries.jl/latest)

[![DOI](http://joss.theoj.org/papers/10.21105/joss.01043/status.svg)](https://doi.org/10.21105/joss.01043)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.2601941.svg)](https://zenodo.org/record/2601941)

#### Authors
- [Luis Benet](http://www.cicc.unam.mx/~benet/), Instituto de Ciencias Fsicas,
Universidad Nacional Autnoma de Mxico (UNAM)
- [David P. Sanders](http://sistemas.fciencias.unam.mx/~dsanders/), Facultad
de Ciencias, Universidad Nacional Autnoma de Mxico (UNAM)

Comments, suggestions and improvements are welcome and appreciated.

#### Examples
Taylor series in one varaible
```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](http://www.juliadiff.org/TaylorSeries.jl/stable).

#### License

`TaylorSeries` is licensed under the [MIT "Expat" license](./LICENSE.md).

#### 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](http://www.maia.ub.es/~alex/admcds/admcds.pdf).

#### 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, and IG-100819.
LB acknowledges support through a *Ctedra Moshinsky* (2013).

Owner

  • Name: Ashton Bradley
  • Login: AshtonSBradley
  • Kind: user
  • Location: Dunedin, New Zealand
  • Company: University of Otago

Associate Professor of Physics

GitHub Events

Total
Last Year