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 complex expand #873

Merged
merged 15 commits into from
Jul 6, 2023
Merged

Add complex expand #873

merged 15 commits into from
Jul 6, 2023

Conversation

mmatera
Copy link
Contributor

@mmatera mmatera commented Jul 5, 2023

@rocky, I open this PR to avoid losing the last changes. I think it is almost ready, but I put this as a draft in case you think there are pending things.

rocky and others added 14 commits February 5, 2023 15:18
Move code from django_doc and latex_doc .py to common_doc.py

In the process we should handle pymathics better.

Remove a number of unused functions and variables like ``is_private``
and pymathics_doc_loaded.
See if we can get by with out using the want_sorting parameter
Pull out flaky Unique[] doctests and start a more robust pytest for
these.

more work is needed.
Fix bug in InterpretedBox
Reinstate hard-coded XMLDoc where self.doc_fn() is not available
Reinstante want_sorting option
--pymathics -> --load-module. Note that one splits module names with a
  comma.

The name Pymathics is deprecated
Clean up ComplexExpand

Added test cases for ComplexExpand

Fix style
@rocky
Copy link
Member

rocky commented Jul 5, 2023

One very small thing that was missing from ComplexExpand is to mention it in CHANGES.rst.

And there was the duplication of the same expression as a doctest and a pytest. There are problem a lot more examples that could be tried - if they are of interest to users then a statement of what aspect this is showing interesting would be in the doctest. (I think that is missing in the current doctest that I started). Or if it is just an edge case that we want to test then it would go in pytest.

I will try to look at it more detail late today.

* Correct behavior when only one complex variable has been given
* Add "ComplexExpand" to CHANGES.rst
* More ComplexExpand doctests
* Correct url links
@rocky rocky marked this pull request as ready for review July 6, 2023 09:52
@rocky rocky merged commit 541c281 into master Jul 6, 2023
@rocky rocky deleted the add-ComplexExpand branch July 6, 2023 09:52
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.

2 participants