PRTools contents

PRTools manual

issym

ISSYM

Checks whether a matrix is symmetric

    OK = ISSYM(A,DELTA)

Input
 A Dataset
 DELTA Parameter for the precision check (optional; default: 1e-12)

Output
 OK 1 if the matrix A is symmetric and 0, otherwise.

Description

A is considered as a symmetric matrix, when it is square and  max(max(A-A')) is smaller than DELTA.

PRTools contents

PRTools manual