Algosim documentation: HermitianSquare

HermitianSquare

Returns the Hermitian square of a matrix.

Syntax

Description

If A is a matrix, then HermitianSquare(A) returns the Hermitian square A* A of A.

Examples

A
⎛ 5   0   2   3   1⎞
⎜ 1   4   0   1   0⎟
⎜ 0   5   8   3   1⎟
⎜−1   2   5   3   6⎟
⎝ 1   5   3   2   0⎠
HermitianSquare(A)
⎛ 28    7    8   15   −1⎞
⎜  7   70   65   35   17⎟
⎜  8   65  102   51   40⎟
⎜ 15   35   51   32   24⎟
⎝ −1   17   40   24   38⎠
IsPositiveDefinite(ans)
true

See also