Previous Program Introduction Next Program

Program Signature

Usage

Signature 'file' [-t]
file: matrix_TYP containing a set of symmetric matrices

Description

Calculates the signature (Sylvester type) of the matrices in file. For a matrix congruent to diag(1,...,1,-1,...,-1,0,...0) over the reals it returns the appropriate number of 1's, -1's, and 0's.

Options

-t:   it decides only which matrices are positive or negative (semi-)definite.

Examples


Previous Program Introduction Next Program