# Manuals/calci/MATRIXSCALAROPERATION

MATRIXSCALAROPERATION (a,afactor,Operation)

• is any matrix.
• is any constant value.
• is any operation to do with the matrix.

## Description

• This function is doing any operation with the scalar value for the given matrix.
• In , is any matrix.
• is the any constant value.
• is any operation to do with the matrix.
• To do any operation between two matrices,the order of the matrices to be considered.
• But while doing any operation with the scalar value order of matrix is not considered.
• To do any operation for the matrix with a constant value,then simply doing any operation with the scalar value and each entries in the given matrix.
• Here operation means not only the arithmetic operation like addition,subtraction,multiplication and division.
• Along with that we can do the operations like log,exp ,power and so on.

## Examples

1. MATRIXSCALAROPERATION([[3,4,5],[10,12,18],[23,-67,123.5]],17,"+")

 20 21 22 27 29 35 40 -50 140.5

2. MATRIXSCALAROPERATION([[23,87,-10,34,67.2],[12,-15,22,90.6,132]],34,"*")

 782 2958 -340 1156 2284.8 408 -510 748 3080.4 4488

3. MATRIXSCALAROPERATION([[12,14,27],[-78,34,65]],5,"LOG")

 1.54396 1.63974 2.04782 nan 2.19105 2.59369

## Related Videos

Scalar Multiplication