Engee documentation

IsSymmetric

Check whether the matrix is symmetric or cosymmetric.

issymmetric

Description

The IsSymmetric block determines whether the original matrix is symmetric or cosymmetric.

Ports

Input

Port_1 - source matrix
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 symmetric (cosymmetric).

Data types: Bool.

Parameters

Mode - mode of definition: symmetric or skew-symmetric
Symmetric (by default) | Skew-Symmetric

Sets the definition mode:

  • Symmetric - the block defines whether the matrix is symmetric.

  • Skew-Symmetric - the block defines if the matrix is skew-symmetric.