stdlib
stdlib copied to clipboard
Fortran Standard Library
- [x] add `disp`. Note: Because `disp` is a very important IO routine, I hope it will **be discussed and approved more widely** before it is adopted. #### Description **Print**...
#310 added the `reverse` function to the `stdlib_ascii` module. Since the behavior of this function does not depend on the character set, the `stdlib_string` module would be a better home...
### Motivation As I said in [#562](https://github.com/fortran-lang/stdlib/pull/562#issue-1051753169) , we can enhance the constructor of `string_type` to support conversion of other types (`integer`, **`real`**, `logical`, **`complex`**) to `string_type`, and **support `format`...
Before we dive into the implementation of root-solvers, optimization routines, and quadrature routines (see #87 and #112 ) I think it is worth discussing the "standard" way of defining callback...
Related to #150 (non-special mathematical functions) ## `cbrt` - Cube root of a real number ### Description Returns the cube root of the real number \(x\), that is a number...
### Motivation I've recently had cause to write Fortran code that communicates over a socket, and code that reads a structured binary file format. For both of these I needed...
I am working on a Fortran version of the quadrature method via the tanh-sinh transform as described by Bailey et al. [Experimental Mathematics in Action ](https://www.maa.org/press/maa-reviews/experimental-mathematics-in-action). Its properties are: -...
### Motivation Functions for low-order polynomial fitting using (weighted) least squares regression are common in many scientific libraries. Here's an interface for the non-weighted case, inspired by the numpy version...
### Description Hi! I don't really know what I'm doing, but following the stdlib fpm build instructions I get to here: fpm build --profile release at which point I get...
If the inserted `slist` has length 0, then `insert_at` can give **seg-fault error** in this code: ```fortran do i = work_idxn + post_length - pre_length, post_length list%stringarray(inew) = slist%stringarray(i) inew...