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

Detection logic for complex-valued math sequences #17

Open
Technologicat opened this issue Aug 8, 2019 · 0 comments
Open

Detection logic for complex-valued math sequences #17

Technologicat opened this issue Aug 8, 2019 · 0 comments
Labels
discussion Thinking it over - comments welcome! enhancement New feature or request
Milestone

Comments

@Technologicat
Copy link
Owner

Currently, s() can handle only real-valued inputs. Complex-valued sequences can be created by composing s(re) + 1j*s(im) or s(mag) * math.exp(1)**(1j*s(arg)), but this is inconvenient.

So, it would be nice to have support for complex-valued sequences.

The complication is that logarithms behave less nicely for complex inputs. If we want to keep supporting both numeric (float, mpmath) and symbolic (SymPy) input, different logic may be needed to correctly detect the sequence for these cases.

Also, just for a pie in the sky, automatic OEIS lookup (if an internet connection is available) would be nice for integer inputs. (Maybe as a separate feature; for many sequences, only the first few elements are known anyway.)

@Technologicat Technologicat added the enhancement New feature or request label Aug 8, 2019
@Technologicat Technologicat added this to the far-future milestone Aug 8, 2019
@Technologicat Technologicat added the discussion Thinking it over - comments welcome! label Aug 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Thinking it over - comments welcome! enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant