stdlib
stdlib copied to clipboard
Fortran Standard Library
To write a program that links to stdlib using gfortran on Windows, I only need libstdlib.a and *.mod and *.smod files, which take up less than 7 MB. I assume...
Create running and rolling versions of all array reduction functions with "s" and "_roll" suffixes
In the [q programming language](https://code.kx.com/q/ref/sum/) (an APL descendant), an array reduction function such as `sum` is accompanied by a function `sums` that computes the running (cumulative) version, so `sum([2,3,4]) =...
Increment
Many other languages allow `i += 1` instead of `i = i + 1`. When you are incrementing a variable with a long name, or an array section, or a...
NumPy has a convenient Einstein summation capability [numpy.einsum](https://numpy.org/doc/stable/reference/generated/numpy.einsum.html). Any interest in an API which operated in a similar way? ie ```fortran program einstein_summation implicit none integer :: i,j,k,l real, dimension(3,4,5)...
Support for measuring timings, having timer ranges and pretty printing of time printout would be a useful addition. This is especially helpful for comparing implementation without relying on external tools.
### Motivation I could not find in the Issues or Linear Algebra section any reference to include standard iterative Krylov solvers (e.g., PCG, BICGSTAB, GMRES) in the stdlib library. I...
### Motivation By using to_string from stdlib_strings, it is now not possible to convert a logical to a string represented as an integer. In C languages it's normal to store...
**Description** `Fortran` has its unique grammatical characteristics. I think it is impossible to learn from some routines of `Matlab` and `Python` completely. We should be based on the characteristics of...
I came up with the idea of implementing an effective function that converts floating point numbers to decimal strings without using internal IO [when discussing the `disp` function](https://github.com/fortran-lang/stdlib/pull/444#issuecomment-868983821). And recently...
Like to see an arbitrary precision data type in stdlib. Other languages like python, c++, java and Julia have already implemented. As a programming language for scientific calculation, Fortran should...