Docs/Sparse Direct Solver (SuperLU)/slu.matrix.isHermitianSparse
Back to Sparse Direct Solver (SuperLU)

slu.matrix.isHermitianSparse

Check if a sparse matrix is Hermitian (A = A^H) within tolerance.

Syntax

slu.matrix.isHermitianSparse(A, tolerance?)

Description

Check if a sparse matrix is Hermitian (A = A^H) within tolerance. For real matrices, this is equivalent to checking symmetry. For complex matrices, checks A[i,j] = conj(A[j,i]). Note: This implementation only handles real matrices (same as symmetric).

Parameters

NameDescription
A- Sparse matrix
tolerance(optional)- Tolerance for value comparison (default: 1e-14)

Returns

boolean