An open API service indexing awesome lists of open source software.

https://github.com/bezlant/s21_matrix_cpp

A simple matrix manipulation library in C++ using object oriented approach. (School 42)
https://github.com/bezlant/s21_matrix_cpp

cmake cpp17 gtest matrix matrix-library

Last synced: 2 months ago
JSON representation

A simple matrix manipulation library in C++ using object oriented approach. (School 42)

Awesome Lists containing this project

README

          

# Matrix Routines

### Table of Contents
* [Introduction](#introduction)
* [Goals](#goals)
* [Build](#build)
* [Tests](#tests)

### Introduction

Implementation of simple matrix processing routines
- Creating a matrix with required sizes
- Removing a matrix
- Comparing matrices
- Sum of matrices
- Subtraction of matrices
- Multiplication of matrices
- Transpose of a matrix
- Determinant of a matrix
- Inverse of a matrix
- Complements matrix

### Goals
- [x] Learn matrix operations and implementations
- [x] Object oriented programming
- [x] Get familiar with CMake
- [x] Implement tests for the library using gtest

### Build

```
$ git clone https://github.com/bezlant/s21_matrix_cpp
$ cd s21_matrix_routines/src
$ mkdir build && cd build
$ cmake ..
$ make
```

### Tests
* Unit tests are implemented using [googletest](https://google.github.io/googletest/) & coverage report with [llvm-cov](https://llvm.org/docs/CommandGuide/llvm-cov.html)

https://user-images.githubusercontent.com/89563512/186648282-75e9cbc9-950e-4a21-a66d-cd47cb671cf1.mov