Engee documentation

IsTriangular

Checking whether the original matrix is an upper or lower triangular matrix.

blockType: IsTriangular

Path in the library:

/Basic/Matrix Operations/IsTriangular

Description

Block IsTriangular determines whether the original matrix is an upper or lower triangular matrix.

Ports

Input

# IN_1 — the original matrix
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 the matrix is upper or lower triangular.

Data types

Bool

Complex numbers support

No

Parameters

Main

# Mode — Detection mode: upper or lower
Upper | Lower

Details

Sets the detection mode:

  • Upper — the block determines whether the matrix is an upper triangular matrix.

  • Lower — the block determines whether the matrix is a lower triangular matrix.

Values

Upper | Lower

Default value

Upper

Program usage name

Mode

Tunable

No

Evaluatable

No