Manuals/calci/MATRIXSCALARADD

MATRIXSCALARADD (a,afactor)


  • is any matrix.
  • is any constant value.

Description

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


Examples

1. MATRIXSCALARADD([-6,12,5;3,-2,9;8,3,3;4,9,10],4)

-2 16 9
7 2 13
12 7 7
8 13 14

2. MATRIXSCALARADD([10,15,18,13;22,25,8,65;-23,-67,-98.4,15;17,43,56.26;71,-90,145,672],69)

79 84 87 82
91 94 77 134
46 2 -29.400000000000006 NaN
140 -21 214 741


Related Videos

Matrix Columns

See Also

References