Manuals/calci/MATRIXSCALARMULTIPLY

From ZCubes Wiki
Jump to navigation Jump to search
MATRIXSCALARMULTIPLY (a,afactor)


  • is any matrix.
  • is any constant value.

Description

  • This function is multiplying the scalar value with the given matrix.
  • In , is any matrix.
  • is the constant value to multiply with the matrix.
  • Suppose when we are multiplying two matrices,the order of the matrices to be considered.
  • But while multiplying with a scalar value order of matrix is not considered.
  • To multiply a matrix by a scalar which is a single number,that simply multiply each element in the matrix by this number.
  • So in the given matrix entries are multiplied by the constant value.

Examples

1. MATRIXSCALARMULTIPLY([[4,8,10],[13,-15,87],[18,25,40]],13)

52 104 130
169 -195 1131
234 325 520

2. MATRIXSCALARMULTIPLY([[14.2,15,79,112,-45],[19,34.3,-67,76,15]],67.43)

957.5060000000001 1011.45 5326.97 7552.160000000001 -3034.3500000000004
1281.17 2312.849 -4517.81 5124.68 1011.45


Related Videos

Matrix Multiplication

See Also

References