stdlib
stdlib copied to clipboard
Fortran Standard Library
Enable `xdp` precision for BLAS, LAPACK and whole linear algebra library. This PR now seamlessly enables both 80-bit extended-precision (`xdp`) and 128-bit quadruple precision (`qp`) versions of the liear algebra...
### Description As the title, which is related to the failure of [the following link](https://fortran-lang.org/assets/img/fortran_logo_512x512.png): https://github.com/fortran-lang/stdlib/blob/d996e436d38d8aa8b47749cc3d93d02793d9ae2f/API-doc-FORD-file.md?plain=1#L46 ### Related Links - API documentation web page: https://stdlib.fortran-lang.org/index.html ### Expected Behaviour Valid author...
Compute the QR factorization of a `real` or `complex` matrix: $A = Q R $, where q is orthonormal and r is upper-triangular. Matrix $A$ has size `[m,n]`, with $m\ge...
### Motivation Would it be interesting to include in the standard library conversion functions between degrees and radians such as in Numpy? ### Prior Art https://numpy.org/doc/stable/reference/generated/numpy.deg2rad.html https://numpy.org/doc/stable/reference/generated/numpy.rad2deg.html ### Additional Information...
Adds handling (loading and saving of `npz` files). As an `npz` file is nothing but `npy` files zipped together to a single file, we either need to include a library...
A few string functions I would like are 1. `count_char` -- Count the number of times a single character `c` appears in a character variable `s` 2. `pos_char` -- Returns...
Add [activation functions](https://en.wikipedia.org/wiki/Activation_function) for neural networks. Relates to https://github.com/fortran-lang/stdlib/issues/858 Todo: - [x] specs & autodoc - [x] tests - [ ] examples **Previous Art** SciPy Special functions collection: https://docs.scipy.org/doc/scipy/reference/special.html torch...
### Description It's a little bit tricky to reproduce but the `loadtxt` test occasionally fails (maybe 10-20% of the time). Mostly, it happens in the CI with the combination ubuntu-latest/gcc/12/cmake:...
Proposal to start putting in place a Sphinx based documentation for stdlib. Relates to https://github.com/fortran-lang/stdlib/issues/697 It already covers the documentation in the specs. Needed a change in the way of...
Since factorials often arise in calculations, I suggest adding to `stdlib_constants` a named array constant `factorial(1:20)` of type `int64 ` containing the factorials of 1 through 20, since that is...