- is any matrix.
- is any constant value.
- 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.