stdlib
stdlib copied to clipboard
Fortran Standard Library
This PR adds a generalized `lagtm` routine that supports arbitrary values of `alpha` and `beta` for the operation: ~~~ y = alpha * A * x + beta * y...
Adds a minimal Python-like input(prompt, stat) function to stdlib_io. Reads a full line, optional prompt + optional stat, follows stdlib error semantics, no parsing. Includes docs, tests, example, and CMake...
Here is an attempt to modularize further `stdlib` with making `stdlib_stats` optional
Is there any interest to have a Python-like [`input()`](https://docs.python.org/3/library/functions.html#input) function? Effectively, this would be a convenience function for the following pattern: ```fortran write(output_unit,'(A)',advance='no') 'Enter a value: ' read(input_unit,'(A)') buffer str...
Added sleep calls to test_loadtxt.f90 to introduce delays between file operations. because before file was being read even before it was writeen and closed Fixes #862 This PR addresses the...
Hej everyone, Given how far we've gone with the linear algebra module, I think it is time to think a bit about what could be the next "big" addition to...
### Motivation I would like to propose to add the the Kabsh-Umeyama algorithm (https://en.wikipedia.org/wiki/Kabsch_algorithm) in a (yet to be) `stdlib_spatial` module for vector alignment purposes. A first API implementation combining...
### Description The logspace routine seems to generate wrong results when called with integer arguments. Here is an example code (essentially taken from the stdlib specs page [https://stdlib.fortran-lang.org/page/specs/stdlib_math.html#logspace-create-a-logarithmically-spaced-rank-one-array](https://stdlib.fortran-lang.org/page/specs/stdlib_math.html#logspace-create-a-logarithmically-spaced-rank-one-array)): ``` program...
Following #930, this PR extends the `qr` interface to enable the computation of the QR factorization with column pivoting. It is based on the `xGEQP3` driver from `lapack`. ### Proposed...
Following the changes in #1033, the following Cmake directives are broken: ```cmake ... if("${method}" STREQUAL "fetch") message(STATUS "Retrieving ${_lib} from ${_url}") include(FetchContent) FetchContent_Declare( "${_lib}" GIT_REPOSITORY "${_url}" GIT_TAG "HEAD" ) FetchContent_MakeAvailable("${_lib}")...