IsSymmetric

Check if a square matrix is symmetric.

bool matrix::IsSymmetric();

Return Value

True if square matrix is symmetric.

Note

Zero matrix of n-by-n size is symmetric. Diagonal matrix is symmetric.