-
Minimal example
```
require(minpack.lm)
require(graphics)
DNase1
-
The implied do loop in Fortran is kind of like a generator expression in Python. It is a loop that is an expression, so it returns an expression, typically an array (or a list in Python).
Just like…
-
In the newly added Python bindings, the expected callback is of form `fcn(x, fvec) -> None` where `fvec` is an output vector, of the same size as `x`, which is modified in-place. The full set of Pytho…
-
```fortran
function expression(x) result(y)
real, intent(in) :: x(:)
real :: y(size(x))
real :: a, b, c
y = y*log(b + x)
end function expression
program main
end program main
```
> LFortra…
-
ASR->WASM backend: (ASR features that have to be implemented):
* [ ] #1484
* [x] https://github.com/lfortran/lfortran/issues/1294
* [x] https://github.com/lfortran/lfortran/issues/1332
* [x] htt…
-
For more robustness we need a better linesearch procedure:
- [x] Refactor linesearch into own struct/algo that can be switched out
- [x] Implement: cubic interpolation (see minpack's linesearches)…
-
Finding your help on the error while I'm trying to play around with `c2w`. I'm converting my simple Python container.
I'm using `lima` to run my VM:
```sh
uname -a
Linux lima-ubuntu 5.15.0-56-g…
-
Running Jupyter notebook from `examples/10_2D_Underworld_Conversion.ipynb` produces the following error in the 3rd cell from the bottom [using pip install --> v0.3 and notebooks from `main` branch]:
…
-
I tried to build this on my PC (ubuntu 22.04 linux) and it shows me the following logs on executing ```FC = lfortran cmake .```
```
-- The C compiler identification is GNU 11.2.0
-- The CXX compile…
-
This error:
```
/python3.6/site-packages/scipy/optimize/minpack.py:799: OptimizeWarning: Covariance of the parameters could not be estimated
category=OptimizeWarning)
```
appears very freq…