|
Type: |
Function |
|
Available as of: |
V1.0.0.0 |
|
Versions: |
Current version |
This chapter provides information on:
Given a 4D input matrix, the function evaluates the inverse matrix of such matrix. The determinant of the input matrix must be different from zero.
|
Input |
Data type |
Description |
|---|---|---|
|
i_stMatrix |
SE_MATH.ST_Matrix4D |
A 4D matrix. |
|
Output |
Data type |
Description |
|---|---|---|
|
q_xError |
BOOL |
If this output is set to TRUE, an error has been detected. For details, refer to q_etResult and q_etResultMsg. |
|
q_etResult |
Provides diagnostic and status information. If q_xError = FALSE, then q_etResult provides status information. If q_xError = TRUE, then q_etResult provides diagnostic/error information. The enumeration ET_Result contains the possible values of the POU operation results. |
|
|
q_sResultMsg |
STRING[80] |
Provides additional information about the current status of the POU. |
|
Data type |
Description |
|---|---|
|
SE_MATH.ST_Matrix4D |
The function returns the inverse matrix of a 4D input matrix. |
|
q_xError |
q_etResult |
Enumeration value |
Description |
|---|---|---|---|
|
FALSE |
Ok |
0 |
Success |
|
TRUE |
NullDeterminant |
7 |
The determinant of the provided matrix is zero. |
|
Enumeration name: |
NullDeterminant |
|
Enumeration value: |
7 |
|
Description: |
The determinant of the provided matrix is zero. |
|
Issue |
Cause |
Solution |
|---|---|---|
|
Evaluation of the inverse of the input matrix was not successful. |
The input matrix has a null determinant. |
Verify that the determinant of the input matrix is not zero before trying to invert it. |