summaryrefslogtreecommitdiff
path: root/matrix.h
Commit message (Collapse)AuthorAge
* FormattingJasper8 days
|
* More functions with '1' suffixJasper8 days
| | | | | | | | Added more versions of existing functions with suffix '1' that take a matrix as argument and perform the action (e.g. filling a matrix with random entries) to the passed matrix. 'matrix_add' and 'matrix_scale' save the result in the matrix passed first.
* 'matrix_is_square' is now a macroJasper11 days
|
* Check if matrix is column or row vectorJasper11 days
|
* Added macros to iterate over matrixJasper11 days
| | | | | | | | | | | This avoids having to write double for-loops again and again. - 'matrix_loop' just replaces the loops and gives access to the indices i and j - 'matrix_foreach' initializes a double pointer to the current element - 'matrix_foreach_idx' is combination of the two above All for-loops that simply iterate over a matrix have been replaced.
* Swap order of arguments for matrix_scale()Jasper2025-09-01
|
* Merge row-swap and col-swapJasper2025-09-01
|
* Added functions to swap rows and colsJasper2025-09-01
|
* Removed const in front of non-pointer typesJasper2025-09-01
|
* Removed '_MatrixType' and '_Matrix' from typedefsJasper2025-09-01
|
* Initial commitJasper2025-08-31