IsHermitian
Checking whether the matrix is Hermitian or anti-Hermitian.
blockType: IsHermitian
Path in the library:
|
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 |
|
| 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 |
|
| 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 |
|
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
No |