Skip to content

stigrs/scilib

Repository files navigation

Scilib

CMake

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.

Features

  • 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

Licensing

Scilib is released under the MIT license.

Usage of Third Party Libraries

This project makes use of the following third-party libraries:

Please see their websites for details regarding licensing terms.

Quick Start

Requirements

Supported Compilers

Compiler Versions Tested
GCC 12, 13, 14
Clang 18
Visual Studio 2022

Obtaining the Source Code

The source code can be obtained from

    git clone https://github.com/stigrs/scilib.git

Building the Software

These steps assumes that the source code of this repository has been cloned into a directory called scilib.

  1. Create a directory to contain the build outputs:

     cd scilib
     mkdir build
     cd build
    
  2. Configure CMake to use the compiler of your choice (you can see a list by running cmake --help):

     cmake ..
    
  3. Build the software (in this case in the Release configuration):

     cmake --build . --config Release
    
  4. Run the test suite:

     ctest -C Release
    
  5. Install the software:

     cmake --build . --config Release --target install
    

    All tests should pass, indicating that your platform is fully supported.

About

C++ library for scientific computing.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

 
 
 

Contributors