Manuals/calci/MATRIXSCALARSUBTRACT
MATRIXSCALARSUBTRACT (a,afactor)
- is any matrix.
- is any constant value.
Description
- This function is subtracting the scalar value with the given matrix.
- In , is any matrix.
- Suppose when we are subtracting two matrices,the order of the matrices to be considered.
- But while subtracting with a scalar order of matrix is not considered.
- To subtract a matrix by a scalar which is a single number,that simply subtract each element in the matrix by this number.
- So in the given matrix entries are decreased by the scalar value.
Examples
1. MATRIXSCALARSUBTRACT([[2,3,8],[-10,17,-20],[541,769.43,-451]],52)
-50 | -49 | -44 |
-62 | -35 | -72 |
489 | 717.43 | -503 |
2.MATRIXSCALARSUBTRACT([[10,14,5.17],[6,-3,-5],[21.2,-34,76.8],[-17,19.4,20],[26,35,-21]],46)
-36 | -32 | -40.83 |
-40 | -49 | -51 |
-24.8 | -80 | 30.799999999999997 |
-63 | -26.6 | -26 |
-20 | -11 | -67 |
Related Videos
See Also
References