S.Y. Lee
S.Y. Lee
I think the filter can break testing notebooks like   The formatting had gone, and it throws 'malformed test' error message whenever I'm trying to press any button. It...
I think that there are some uses of defining custom substitutions to recognize syntactic integer powers and what is corresponding to the polynomial division. So for the cases below, I'd...
```python3 import mpmath from mpmath import MPContext mp = mpmath.mp mp0 = MPContext() print(isinstance(mp.matrix([[1, 2], [3, 4]]), mp.matrix)) print(isinstance(mp.matrix([[1, 2], [3, 4]]), mp0.matrix)) print(isinstance(mp0.matrix([[1, 2], [3, 4]]), mp.matrix)) print(isinstance(mp0.matrix([[1, 2],...
``` >>> float(1) ** float('inf') 1.0 >>> mpf(1) ** mpf('inf') mpf('nan') >>> float('nan') ** float(0) 1.0 >>> mpf('nan') ** mpf(0) mpf('nan') ``` These questions have arised from https://github.com/sympy/sympy/issues/18500 https://github.com/sympy/sympy/issues/18470 But...
#### References to other Issues or PRs Fixes #24735 #### Brief description of what is fixed or changed I added a guard for `bc_matmul` for matrix power because `list *...
I have encountered an issue that this hangs infinitely. ``` from sympy import * f = Function('f') x = Symbol('x') n = Symbol('n') simplify(Eq(f(x), x**n)) ```
I see some issues with tests are failing in recent PRs after the python 3.12 beta is released I attempt to fix some deprecation issues, https://github.com/sympy/sympy/pull/25184, however, I don't think...
``` from sympy import cos, log, plot from sympy.abc import x plot(sin(log(x)), (x, .001, 10), xscale='log') ```  ``` plot(sin(log(x)), (x, .001, 10), xscale='log', adaptive=False) ``` 
#### References to other Issues or PRs #### Brief description of what is fixed or changed #### Other comments #### Release Notes NO ENTRY
The following code for generating simple recursive grammar does not work ```python from nltk.grammar import Nonterminal, Production, CFG from nltk.parse.generate import generate S = Nonterminal('S') P = [Production(S, ['a', S]),...