src/matrix.cpp
/**
 * @brief Transpose a matrix
 * @return A transposed matrix
 */
@brief Transpose a matrix
@return A transposed matrix
@brief Transpose a matrix @return A transposed matrix
Matrix Matrix::transpose() const {
    return Matrix(
            this->matrix[0][0],
            this->matrix[0][1],
            this->matrix[1][0],
            this->matrix[1][1]
    );
}
Matrix Matrix :: transpose ( ) const { return Matrix ( this -> matrix [ 0 ] [ 0 ] , this -> matrix [ 0 ] [ 1 ] , this -> matrix [ 1 ] [ 0 ] , this -> matrix [ 1 ] [ 1 ] ) ; }
@brief Transpose a matrix
 @return A transposed matrix
@brief Transpose a matrix @return A transposed matrix