/cyfre

A Templated C++ matrix library

Primary LanguageC++MIT LicenseMIT

cyfre

License: MIT build-tests

A Templated C++ matrix library which aims to provide an easy to use interface for basic and intermediate vector-vector, vector-matrix & matrix-matrix operations, and other linear algebra operations.

Note

Requires: c++20

Important

This library is on an ongoing re-write to improve the api and use more modern C++ features. To see the old working implementation of this library check the version_1.9 branch or download it here.

Goals

This library aims to achieve the following features in the future.

  1. Provide an easy to use interface zero-cost abstractions.
  2. Provide support for different BLAS libraries like OpenBLAS, cuBLAS, etc. as backend to achieve fast performance.
  3. Easy to setup, supports different build system for installation.
  4. Continually improve the implementation.

For now the library is nowhere near the said features but this is the ultimate goal of the library. Any contributions and help that will make this library one step closer to its goals are welcome.

Docs

  1. Installation (work in progress)
  2. Compilation (work in progress)
  3. Initialization
  4. scalar operations with vectors and matrices (not available yet)
  5. vector-vector operations (not available yet)
  6. vector-matrix operations (not available yet)
  7. matrix-matrix operations (not available yet)

About

This repository started in december 2020 as a personal hobby project not intended to replace big matrix libraries like Eigen, OpenCV's - cv::Mat or BLAS and is only for didactic purposes. Though performance is still a priority, meaning this library will... as much as possible, use the fastest and the most efficient algorithms and implementations THAT THE AUTHOR(s) KNOW OF.