Engee documentation

IsHermitian

Checking whether the matrix is Hermitian or anti-Hermitian.

blockType: IsHermitian

Path in the library:

/Basic/Matrix Operations/IsHermitian

Description

Block IsHermitian determines whether the original matrix is a Hermitian or an anti-Hermitian (skew-Hermitian) matrix.

The block supports working with unsigned numbers. If the input number has an imaginary part, then the output will always be False if the input is an unsigned number without an imaginary part, then the block will always output True.

Ports

Input

# IN_1 — the original matrix
scalar | vector | the matrix

Details

The original matrix.

Data types

Float16, Float32, Float64, Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64, Bool

Complex numbers support

No

Output

# OUT_1 — the result of the definition
boolean value, real scalar

Details

The result of determining whether a matrix is Hermitian (anti-Hermitian).

Data types

Bool

Complex numbers support

No

Parameters

Main

# Mode — matrix definition mode: Hermitian or anti-Hermitian
Hermitian | Skew-Hermitian

Details

Sets the detection mode:

  • Hermitian — determines whether the matrix is Hermitian.

  • Skew-Hermitian — determines whether the matrix is anti-Hermitian.

Values

Hermitian | Skew-Hermitian

Default value

Hermitian

Program usage name

Mode

Tunable

No

Evaluatable

No