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 | 9, 10 |
Clang | 10, 11, 12 |
Visual Studio | VS2019, VS2022 |
XCode | 13.0 |
Intel | 2022 |
The source code can be obtained from
git clone [email protected]: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 -G "Visual Studio 17 2022" ..
-
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 install
All tests should pass, indicating that your platform is fully supported.