| Line 1: |
Line 1: |
| − | HADAMARDPRODUCT | + | <div style="font-size:30px">'''HADAMARDPRODUCT (a,b)'''</div><br/> |
| | + | *<math> a</math> and <math>b </math> are any two matrices. |
| | + | |
| | + | ==Description== |
| | + | *This function shows the value of the Hadamard product. |
| | + | *In <math>HADAMARDPRODUCT(a,b)</math>,<math>a</math> and <math>b</math> are two matrices. |
| | + | *Hadamard product is also called Schur product or entrywise product. |
| | + | *The Hadamard product is associative,commutative and distributive. |
| | + | *Hadamard product is defined by,For two matrices, A and B, of the same dimension, mxn, the Hadamard product, <math> A\circ B</math, is a matrix, of the same dimension as the operands, with elements given by: |
| | + | <math>(A \circ B)_{i,j}=(A)_{i,j}(B)_{i,j} </math> |
| | + | *Hadamard Product of order 2 is calculated by: |
| | + | <math>\begin{pmatrix} |
| | + | a_{11} & a_{12} \\ |
| | + | a_{21} & a_{22} |
| | + | \end{pmatrix}</math><math>\circ</math> |
| | + | <math>\begin{pmatrix} |
| | + | b_{11} & b_{12} \\ |
| | + | b_{21} & b_{22} |
| | + | \end{pmatrix}</math> = <math>\begin{pmatrix} |
| | + | a_{11}b_{11} & a_{12}b_{12} \\ |
| | + | a_{21}b_{21} & a_{22}b_{22} |
| | + | \end{pmatrix}</math> |