Smit Lunagariya

Results 21 issues of Smit Lunagariya

The `uarray` support for `scipy.special` is implemented in https://github.com/scipy/scipy/pull/15665. This PR aims to add `cupy` backend support for `scipy.special`. cc @rgommers

cat:enhancement
prio:medium

https://gitlab.com/lfortran/lfortran/-/issues/769

Some of the ideas to start working on: Adding a few basic and necessary functions: 1. `upper_bound`: (similar to that of cpp's upper_bound) that should work on sorted `OneDimensionalArray`. 2....

enhancement

This PR generates ASR for `scipy/linalg/src/id_dist/src/idz_svd.f`

SciPy

Error: ``` % lfortran --fixed-form --implicit-typing --show-asr scipy/optimize/__nnls/nnls.f tokenizer error: Expecting terminating symbol for subroutine --> scipy/optimize/__nnls/nnls.f:90:7 | 90 | 30 CONTINUE | ^ ```

SciPy

```python >>> from sympy.abc import x >>> from sympy import exp, sqrt, integrate,oo,pi >>> expr = sqrt(2)*exp(-x**2/50 + x/25 - 1/50)/(10*sqrt(pi)) >>> integrate(expr, (x,-oo,oo)) -erfc(sqrt(2)/10)/2 + 5*sqrt(2)*(-sqrt(2)*pi*exp(1/50)*erf(sqrt(2)/10)/10 + sqrt(2)*pi*exp(1/50)/10)*exp(-1/50)/(2*pi) +...

simplify

Related to #1419 Here are a few important guidelines and requirements to check before your PR can be merged: + [x] There is an informative high-level description of the changes....

enhancement
important
Numba

**Thank you for opening a PR!** #1449 Here are a few important guidelines and requirements to check before your PR can be merged: + [x] There is an informative high-level...

enhancement
Numba

I tried the following: ```py from jaxopt import ScipyBoundedMinimize solver = ScipyBoundedMinimize(fun=state_action_value_jax, method="l-bfgs-b") def T_jax(v, model): def update_v(carry, y): b = jnp.array((1e-5, y)) result = solver.run(y, bounds=b, data=(y, v, model)).params...