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: 9.0   9.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3    Statistic  

Matrix.Multiply

Multiplies a value with cells in matrix.

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

Parameters

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

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

Blog Entries

Created 28th May 2020, last changed 28th May 2020


Matrix.Min   -   Matrix.New

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins