Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing methods for add! and subst! #117

Merged
merged 2 commits into from
Aug 26, 2017
Merged

Add missing methods for add! and subst! #117

merged 2 commits into from
Aug 26, 2017

Conversation

PerezHz
Copy link
Contributor

@PerezHz PerezHz commented Aug 26, 2017

This PR adds some methods for add! and subst!, such as add!(v::Taylor1,a::NumberNotSeries,k::Int), and analogous versions for TaylorNs, which come in handy when working together with PerezHz/TaylorIntegration.jl#31

@coveralls
Copy link

coveralls commented Aug 26, 2017

Coverage Status

Coverage decreased (-0.2%) to 91.159% when pulling 363d441 on PerezHz:mutating_functions into f97223f on JuliaDiff:mutating_functions.

@coveralls
Copy link

coveralls commented Aug 26, 2017

Coverage Status

Coverage increased (+0.01%) to 91.326% when pulling 689f76c on PerezHz:mutating_functions into f97223f on JuliaDiff:mutating_functions.

@PerezHz
Copy link
Contributor Author

PerezHz commented Aug 26, 2017

Tests are passing on 0.6 and nightly (added corresponding tests for new code)

@lbenet
Copy link
Member

lbenet commented Aug 26, 2017

Thanks! I'll merge this to the mutating_functions branch.

@lbenet lbenet merged commit 840b042 into JuliaDiff:mutating_functions Aug 26, 2017
lbenet pushed a commit that referenced this pull request Oct 10, 2017
* Add missing in-place methods for unary +,-

* Add tests for new add!, subst! methods
lbenet added a commit that referenced this pull request Oct 27, 2017
* Use explicit recursion for acos in acos! ...

...instead of using asin!

* Add internalmutfunct.jl

* Add unary add! subst! and other methods, and ammend dictionaries

* Small corrections

* Add mul! and div! involving numeric coefficients

* Rename internalmutfunct.jl to dictmutfunct.jl and export constant_term

* Add identity! and another method of constant_term

* Add zero! and one! methods

* Include in _internalmutfunc_call TayloSeries before the function

* Revise the docstrings

* Add specific cases depending on the power to `pow!`

* Add missing methods for add! and subst! (#117)

* Add missing in-place methods for unary +,-

* Add tests for new add!, subst! methods

* Add `abs!`

* Add `abs2(a)` as `a^2`, and the corresponding `abs2!`

* Correct `abs!` so it works for Taylor1{TaylorN{T}}

* Import abs2

* Add tests for some mutating functions and dictionary calls

* Fix some deprecations warning
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants