Difference between revisions of "Manuals/calci/HADAMARDPRODUCT"
Jump to navigation
Jump to search
(Created page with "HADAMARDPRODUCT") |
|||
(6 intermediate revisions by the same user not shown) | |||
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. | ||
+ | *This product is the multiplied value of the each corresponding entries with the given two same dimension matrices. | ||
+ | *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> | ||
+ | |||
+ | ==Examples== | ||
+ | 1. HADAMARDPRODUCT([[2,3],[10,14]],[[6,4],[8,3]]) | ||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | | 12 || 12 | ||
+ | |- | ||
+ | | 80 || 42 | ||
+ | |} | ||
+ | 2. HADAMARDPRODUCT([[6,3,10],[5,-7,12],[4,2,6]],[[4,5,6],[9,2,-5],[12,13,7]]) | ||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | | 24 || 15 || 60 | ||
+ | |- | ||
+ | | 45 || -14 || -60 | ||
+ | |- | ||
+ | |48 || 26 || 42 | ||
+ | |} | ||
+ | |||
+ | ==Related Videos== | ||
+ | |||
+ | {{#ev:youtube|v=hbU5V-ccA9I|280|center|Hadamard Product}} | ||
+ | |||
+ | ==See Also== | ||
+ | *[[Manuals/calci/HADAMARD| HADAMARD]] | ||
+ | *[[Manuals/calci/hadamard| hadamard]] | ||
+ | *[[Manuals/calci/HANKEL| HANKEL]] | ||
+ | |||
+ | ==References== | ||
+ | *[http://en.wikipedia.org/wiki/Hadamard_matrix Hadamard matrix] | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | *[[Z_API_Functions | List of Main Z Functions]] | ||
+ | *[[ Z3 | Z3 home ]] |
Latest revision as of 12:48, 9 April 2019
HADAMARDPRODUCT (a,b)
- and are any two matrices.
Description
- This function shows the value of the Hadamard product.
- In , and are two matrices.
- Hadamard product is also called Schur product or entrywise product.
- The Hadamard product is associative,commutative and distributive.
- This product is the multiplied value of the each corresponding entries with the given two same dimension matrices.
- Hadamard product is defined by,For two matrices, A and B of the same dimension mxn, the Hadamard product , is a matrix, of the same dimension as the operands, with elements given by:
- Hadamard Product of order 2 is calculated by:
=
Examples
1. HADAMARDPRODUCT([[2,3],[10,14]],[[6,4],[8,3]])
12 | 12 |
80 | 42 |
2. HADAMARDPRODUCT([[6,3,10],[5,-7,12],[4,2,6]],[[4,5,6],[9,2,-5],[12,13,7]])
24 | 15 | 60 |
45 | -14 | -60 |
48 | 26 | 42 |
Related Videos
See Also
References