Engee documentation

IsHermitian

Checking whether the matrix is Hermite or anti-Hermite.

ishermitian

Description

The IsHermitian block determines whether the original matrix is an Hermitian or anti-Hermitian (coscohermitian) matrix.

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

Ports

Input

Port_1 - initial matrix
scalar | vector | matrix

Initial matrix.

Data types: Float16, Float32, Float64, Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64, Bool.

Support for complex numbers: Yes

Output

Port_1 - result of definition
logical value, real scalar

The result of determining whether the matrix is Hermite (anti-Hermite).

Data types: Bool.

Parameters

Mode - mode of matrix definition: Hermitian or anti-Hermitian
Hermitian (by default) | Skew-Hermitian

Sets the definition mode:

  • Hermitian - determines if the matrix is Hermitian.

  • Skew-Hermitian - determines if the matrix is anti-Hermitian.

Usage in program code

Block parameters

Mode Hermitian Skew-Hermitian

Values

Hermitian

Skew-Hermitian

By default