Skip to content

Latest commit

 

History

History
58 lines (28 loc) · 799 Bytes

File metadata and controls

58 lines (28 loc) · 799 Bytes

Home > @josh-brown/vector > isSymmetric

isSymmetric() function

Tests if a matrix is symmetric.

Signature:

export declare function isSymmetric<S>(matrix: Matrix<S>): boolean;

Parameters

Parameter

Type

Description

matrix

Matrix<S>

Returns:

boolean

true if the matrix is symmetric

Remarks

A matrix A is symmetric if it is square and if A[i,j] = A[j,i] for all i and j