Manuals/calci/MATRIXSCALARDIVIDE

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


  • is any matrix.
  • is any constant value.

Description

  • This function is dividing the scalar value with the given matrix.
  • In , is any matrix.
  • Suppose when we are dividing two matrices,the order of the matrices to be considered.
  • But while dividing with a scalar order of matrix is not considered.
  • Normally we could not do the matrix division directly.
  • To divide a matrix by a scalar which is a single number,that simply divide each element in the matrix by this number.
  • So all the entries in the given matrix are divide by the scalar value.

Examples

1. MATRIXSCALARDIVIDE([[6,7,8],[10,12,-22],[7,17,23]],2)

3 3.5 4
5 6 -11
3.5 8.5 11.5

2. MATRIXSCALARDIVIDE([[1,2,3,4],[7,8,-9,10],[11,12,-13.56,14],[10,12,17,18],[21,22,23,24]],6.4)

0.15625 0.3125 0.46875 0.625
1.09375 1.25 -1.40625 1.5625
1.71875 1.875 -2.11875 2.1875
1.5625 1.875 2.65625 2.8125
3.28125 3.4375 3.59375 3.75


Related Videos

Scalar Multiplication

See Also

References