Skip to content

DisonGo/s21_matrix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 

Repository files navigation

s21_matrix

C lib of implementation of dynamic matrix creation and operations with it.

Lib functions

Name Description
s21_get_minor Get minor value at selected position in matrix
s21_eq_matrix Determine if matrices are equal.
s21_transpose Switch around rows and columns of matrix into new one.
s21_sub_matrix Substruct matrices.
s21_sum_matrix Summarize matrices.
s21_mult_matrix Multiplicate matrices.
s21_mult_number Multiply matrix by number.
s21_determinant Calculate determinant of matrix.
s21_copy_matrix Copy matrix to new matrix.
s21_matrix_to_str Creates table of matrix in str with given precision.
s21_create_matrix Create matrix of given size.
s21_remove_matrix Free matrix.
s21_inverse_matrix Calculate inverse matrix.
s21_calc_complements Calculate matrix cofactor matrix.

Build

  • Build lib and launch tests

    make all
    
  • Build and run tests

    make test
    
  • Build lib

    make s21_matrix.a
    
  • Clean lib

    make clean
    
  • Run test coverage check

    make gcov_report
    

About

Implementation of the matrix.h library.

Topics

Resources

Stars

Watchers

Forks