Scilib provides a C++ library for linear algebra and scientific computing. BLAS and LAPACK are used for fast numerical performance. Currently, OpenBLAS and Intel MKL are supported.
- Multidimensional dense arrays (row-major or column-major storage order; default is row-major)
- Linear algebra methods
- Integration methods
- Simple solver for initial value problems (Dormand-Prince)
- Common statistical methods
- Mathematical constants, metric prefixes, physical constants, and conversion factors
Scilib is released under the MIT license.
This project makes use of the following third-party libraries:
Please see their websites for details regarding licensing terms.
| Compiler | Versions Tested |
|---|---|
| GCC | 12, 13, 14 |
| Clang | 18 |
| Visual Studio | 2022 |
The source code can be obtained from
git clone https://github.com/stigrs/scilib.git
These steps assumes that the source code of this repository has been cloned
into a directory called scilib.
-
Create a directory to contain the build outputs:
cd scilib mkdir build cd build -
Configure CMake to use the compiler of your choice (you can see a list by running
cmake --help):cmake .. -
Build the software (in this case in the Release configuration):
cmake --build . --config Release -
Run the test suite:
ctest -C Release -
Install the software:
cmake --build . --config Release --target installAll tests should pass, indicating that your platform is fully supported.