PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Functions for managing matrices
Versions 21 and later
Universal Windows 10 App Most of these functions are now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App Most of these functions are now available in Universal Windows 10 App mode.
Universal Windows 10 App Most of these functions are now available in Universal Windows 10 App mode.
The following functions are used to manage the 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 existence of a matrix 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.
MatInvertReverses 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 required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment