Home > @josh-brown/vector > isSymmetric
Tests if a matrix is symmetric.
Signature:
export declare function isSymmetric<S>(matrix: Matrix<S>): boolean;|
Parameter |
Type |
Description |
|---|---|---|
|
matrix |
Matrix<S> |
Returns:
boolean
true if the matrix is symmetric
A matrix A is symmetric if it is square and if A[i,j] = A[j,i] for all i and j