ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Numeric values functions / Matrix functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Matrix management functions
The following functions are used to manage matrices:
MatAddAdds two matrices of same dimensions (same number of rows and same number of columns).
MatCopyCreates the copy of a matrix.
MatCreateCreates a matrix containing 0 row and 0 column.
MatDeleteDeletes an existing matrix.
MatDeterminantCalculates the determinant of a square matrix (the number of rows is equal to the number of columns).
MatErrorIdentifies the type of the last error caused by a Matxxx function (functions for matrix management).
MatExistChecks the whether the matrix exists in memory.
MatFillInitializes all the elements found in a matrix of a given size.
MatFloatAddAdds a value to each matrix element.
MatFloatMultiplyMultiplies each matrix element by a value.
MatInvertCalculates the inverse of a square matrix.
MatMultiplyMultiplies two matrices.
MatNbColumnReturns the number of columns found in a matrix.
MatNbLineReturns the number of rows found in a matrix.
MatReadReads the value of a matrix element.
MatReadColumnReads the value of all the elements found in a matrix column.
MatReadLineReads the value of all elements found in a matrix row.
MatStackCompresses the memory footprint occupied by a matrix.
MatTransposeCalculates the transposed matrix.
MatWriteWrites an element into a matrix.
Related Examples:
The Matrix functions 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...
The Stat functions Unit examples (WINDEV): The Stat functions
[ + ] Using the main functions for statistical calculations (using matrices):
- Calculate a sum of values
- Calculate a mean of values
- Find the minimum value in a set of values
- Find the maximum value in a set of values
The Stat functions Unit examples (WINDEV Mobile): The Stat functions
[ + ] Using the main functions for statistical calculations (using matrices):
- Calculate a sum of values
- Calculate a mean of values
- Find the minimum value in a set of values
- Find the maximum value in a set of values
See also
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/22/2023

Send a report | Local help