ONLINE HELP WINDEV, WEBDEV AND WINDEV MOBILEVersion: 151617181920212223242526
WINDEV
WEBDEV
WINDEV Mobile
Others
Functions for managing matrices
Versions 21 and later
Most of these functions are now available in Universal Windows 10 App mode.
New in version 21
Most of these functions are now available in Universal Windows 10 App mode.
Most of these functions are now available in Universal Windows 10 App mode.
The following functions are used to manage the matrices:
 MatAdd Adds two matrices of same dimensions (same number of rows and same number of columns). MatCopy Creates the copy of a matrix. MatCreate Creates a matrix containing 0 row and 0 column. MatDelete Deletes an existing matrix. MatDeterminant Calculates the determinant of a square matrix (the number of rows is equal to the number of columns). MatError Identifies the type of the last error caused by a Matxxx function (functions for matrix management). MatExist Checks the existence of a matrix in memory. MatFill Initializes all the elements found in a matrix of a given size. MatFloatAdd Adds a value to each matrix element. MatFloatMultiply Multiplies each matrix element by a value. MatInvert Inverts a square matrix. MatMultiply Multiplies two matrices. MatNbColumn Returns the number of columns found in a matrix. MatNbLine Returns the number of rows found in a matrix. MatRead Reads the value of a matrix element. MatReadColumn Reads the value of all the elements found in a matrix column. MatReadLine Reads the value of all elements found in a matrix row. MatStack Compresses the memory footprint occupied by a matrix. MatTranspose Calculates the transposed matrix. MatWrite Writes an element into a matrix.
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): 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
 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