C Workshop
|
Functions | |
enum matrix_type | TransposeMatrix (matrix_element **matrix, size_t size) |
Recieves a square matrix and transposes it in place. More... | |
void | SwapElements (matrix_element *first, matrix_element *second) |
Swaps two matrix elements. More... | |
void | PrintMatrix (matrix_element **matrix, size_t size) |
Prints a square matrix. More... | |
void PrintMatrix | ( | matrix_element ** | matrix, |
size_t | size | ||
) |
Prints a square matrix.
matrix | Matrix to print |
size | Size of the matrix (rows and columns) |
void SwapElements | ( | matrix_element * | first, |
matrix_element * | second | ||
) |
Swaps two matrix elements.
first | The first element |
second | The element to swap with |
enum matrix_type TransposeMatrix | ( | matrix_element ** | matrix, |
size_t | size | ||
) |
Recieves a square matrix and transposes it in place.
matrix | The matrix to transpose |
size | The size of the matrix (rows and columns) |