# Difference between revisions of "Manuals/calci/HADAMARDPRODUCT"

Jump to navigation
Jump to search

(4 intermediate revisions by the same user not shown) | |||

Line 7: | Line 7: | ||

*Hadamard product is also called Schur product or entrywise product. | *Hadamard product is also called Schur product or entrywise product. | ||

*The Hadamard product is associative,commutative and distributive. | *The Hadamard product is associative,commutative and distributive. | ||

− | *Hadamard product is defined by,For two matrices, A and B | + | *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> | <math>(A \circ B)_{i,j}=(A)_{i,j}(B)_{i,j} </math> | ||

*Hadamard Product of order 2 is calculated by: | *Hadamard Product of order 2 is calculated by: | ||

Line 23: | Line 24: | ||

==Examples== | ==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 13: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