Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.0   12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3    Statistic    FMM    Blog  

Matrix.Multiply

Multiplies a value with cells in matrix.

Component Version macOS Windows Linux Server iOS SDK
Matrix 10.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Matrix.Multiply"; MatrixRef; Value { ; firstRow; lastRow; firstCol; lastCol } )   More

Parameters

Parameter Description Example Flags
MatrixRef The matrix reference number. $matrix
Value The value to use for multiplication to all cells. 1.2
firstRow The index of first row.
Default is 0.
0 Optional
lastRow The index of last row.
Default is Matrix.Height-1.
5 Optional
firstCol The index of first column.
Default is 0.
0 Optional
lastCol The index of last column.
Default is Matrix.Width-1.
6 Optional

Result

Returns OK or error.

Description

Multiplies a value with cells in matrix.
We loop over all rows in all columns for the range and add the given value to the numbers.
If the cell doesn't contain a number, it's converted to a number like GetAsNumber().

See also

Release notes

Blog Entries

This function checks for a paid license.

Created 28th May 2020, last changed 7th April 2022


Matrix.Min - Matrix.New

💬 Ask a question or report a problem


Start Chat