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

e·e^x·e^{-x} not simplified #176

Open
holgerengels opened this issue Jun 29, 2024 · 1 comment
Open

e·e^x·e^{-x} not simplified #176

holgerengels opened this issue Jun 29, 2024 · 1 comment

Comments

@holgerengels
Copy link
Contributor

Description

Expected simplification does not take place

Steps to Reproduce

ce.parse("ee^xe^{-x}").simplify()
produces: ["Multiply","ExponentialE",["Power","ExponentialE","x"],["Power","ExponentialE",["Negate","x"]]]
expected: ExponentialE

Version: "@cortex-js/compute-engine": "^0.25.0"
Operating System Linux 6.8.0-35

@andrew-murdza
Copy link

It turns out that ee^x doesn't work either. The problem occurs when one of the factors doesn't have an exponent or has an exponent of 1. It also doesn't work for 2^x2 and 2^x2^1 for example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants