|
|
|
|
|
- Error code
- Matrix existence
MatError (Function) In french: MatErreur
ResErreur = MatError("MaMatrice")
Syntax
<Result> = MatError(<Matrix>)
<Result>: Integer - 0 if no error occurred on the matrix,
- an error code (value greater than 0) otherwise.
<Matrix>: Character string Name of the matrix used, defined with MatCreate. Remarks The error codes that can occur on a matrix are as follows: - 8: Not enough memory available.
- 9: The requested position is outside the matrix.
- 10: Matrix name invalid.
- 11: The matrices have different dimensions.
- 12: The determinant is zero. Unable to calculate the inverse of the matrix.
Attention: Errors 9, 10 and 11 generate a WLanguage error. The application stops. Matrix existence The matrix existence is not checked. To check the matrix existence, use MatExist.
Related Examples:
|
Unit examples (WINDEV): The Matrix functions
[ + ] Using matrices with the WLanguage functions. This example, powered by WINDEV, is used to perform calculations on matrices: addition, multiplication, transposition, inversion...
|
|
Unit examples (WINDEV Mobile): The Matrix functions
[ + ] Using matrices with the WLanguage functions: addition, multiplication, transposition, inversion...
|
Business / UI classification: Neutral code
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|