Module: Editor
Version: 5.1.4 +
Description
The formula 'AddScalarToMatrix' returns the sum of a scalar and a matrix. The value of the scalar will be added to each value in the matrix.
Parameters
Number: the value of the scalar you want to add to the matrix.
Matrix: the matrix you want to use for the sum.
Example
Description
In the following example the formula 'AddScalarToMatrix' is used to get the sum of a scalar and a matrix.
Values parameters
Number: 10
Matrix:
Column 1 | Column 2 |
20 |
25 |
30 |
5 |
Result
Output:
Column 1 | Column 2 |
30 |
35 |
40 |
15 |
The result is a matrix with the sum of the chosen scalar and matrix.
Related Topics
- AddMatrices: The formula 'AddMatrices' returns the sum of two or more matrices.
Feedback
If you have any questions about this subject or if you want to provide us feedback please send us an e-mail.