Manuals/calci/MATRIXSCALAROPERATION

Revision as of 14:09, 3 July 2017 by Devika (talk | contribs) (Created page with "<div style="font-size:30px">'''MATRIXSCALAROPERATION (a,afactor,Operation) '''</div><br/> *<math>a </math> is any matrix. *<math> afactor</math> is any constant value. *<math>...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.3999999999996 4488

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

1.5439593106327716 1.6397385131955606 2.047818583457956
NaN 2.1910509857959815 2.5936926411670824

See Also

References