Search

 

Module: Editor

Version: 5.1.4 +

Type: Long or double

Category: Matrix

 

Description

The formula 'MultiplyScalarMatrix' returns the product of a scalar and a matrix. The value of the scalar will be multiplied to each value in the matrix.

Parameters

Number:     the value of the scalar you want to multiply with the matrix.

Matrix:        the matrix you want to multiply.

Example

Description

In the following example the formula 'MultiplyScalarMatrix' is used to get the sum of a scalar and a matrix.

Values parameters

Number:  10

Matrix:

Column 1Column 2
 20  25
 30  5

 

Result

Output:

Column 1Column 2
 200  250
 300  50
 
The result is a matrix with the product of the chosen scalar and matrix.
 

Related Topics

MultiplyMatricesThe formula 'MultiplyMatrices' returns the product of two or more matrices.

MultiplyMatrixVectorThe formula 'MultiplyMatrixVector' returns the product of a matrix and a vector.

Feedback

If you have any questions about this subject or if you want to provide us feedback please send us an e-mail.

Updated: 2014-09-10