S.Y. Lee

Results 27 issues of S.Y. Lee

I think the filter can break testing notebooks like ![image](https://user-images.githubusercontent.com/34944973/50343163-42af4b00-0569-11e9-84d0-f6f52055394b.png) ![image](https://user-images.githubusercontent.com/34944973/50343264-7e4a1500-0569-11e9-9195-7a08f25fcd33.png) 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...

core

```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 *...

matrices.expressions

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)) ```

simplify
Performance

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') ``` ![image](https://github.com/sympy/sympy/assets/34944973/7584d611-b9c0-4b25-975f-4f3b4e6225c9) ``` plot(sin(log(x)), (x, .001, 10), xscale='log', adaptive=False) ``` ![image](https://github.com/sympy/sympy/assets/34944973/7c5f1608-507c-4234-80e5-dad74cc56baf)

plotting

#### 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]),...