raquel-oliveira / numerical-analysis

0 stars 0 forks source link

Implement isSymmetric() function #6

Closed greati closed 7 years ago

greati commented 7 years ago

Sometimes we want to check if a matrix A is symmetric (when A = A^T). In Cholesky method, for example, the coefficient matrix must be symmetric. This issue asks to implement a boolean function in class Matrix as bool isSymmetric() const, which returns true if A is symmetric and false otherwise.