Function csmatrix_transpose

Function Documentation

struct csmatrix *csmatrix_transpose(struct csmatrix *matrix)

Transpose a matrix, returning a new matrix.

The original matrix is not modified.

Parameters:

matrix – The matrix handle.

Returns:

The transposed matrix, or NULL if an error occurred.