summaryrefslogtreecommitdiff
path: root/matrix.c
diff options
context:
space:
mode:
Diffstat (limited to 'matrix.c')
-rw-r--r--matrix.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/matrix.c b/matrix.c
index 8ffae72..0c5b590 100644
--- a/matrix.c
+++ b/matrix.c
@@ -258,11 +258,6 @@ Matrix *matrix_rand(size_t m, size_t n, int bound_l, int bound_u, MatrixType typ
return mat;
}
-int matrix_is_square(const Matrix *mat)
-{
- return mat->m == mat->n;
-}
-
int matrix_eq(const Matrix *A, const Matrix *B, double tol)
{
assert(A->m == B->m && A->n == B->n && "Dimension mismatch");