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.
Sometimes we want to check if a matrix
A
is symmetric (whenA = A^T
). In Cholesky method, for example, the coefficient matrix must be symmetric. This issue asks to implement a boolean function in classMatrix
asbool isSymmetric() const
, which returnstrue
ifA
is symmetric andfalse
otherwise.