Skip to content

m3nin0-labs/matrix.cxx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

matrix.cxx

C++ Header with matrix operations

Building

Using Conan (Recommended)

Install Conan 2.x if you haven't already:

pip install conan

Install dependencies:

conan install . --output-folder=build --build=missing

Configure and build with CMake:

cmake -S . -B build -DCMAKE_TOOLCHAIN_FILE=build/conan_toolchain.cmake
cmake --build build

Without Conan

Simply use CMake directly:

cmake -S . -B build
cmake --build build

Using OpenMP

matrix.cxx uses OpenMP in some methods. To set the number of threads used, use the OMP_NUM_THREADS environment variable.

OpenMP can be enabled/disabled with:

cmake -DENABLE_OPENMP=ON ..   # Enable (default)
cmake -DENABLE_OPENMP=OFF ..  # Disable

About

C++ Header with matrix operations

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published