next up previous contents index
suivant: Hadamard product (infixed version): monter: Arithmetic and matrix précédent: Power of a matrix   Table des matières   Index


Hadamard product : hadamard product

hadamard (or product) takes as arguments two matrices A and B of the same size.
hadamard (or product) returns the matrix where each term is the term by term product of A and B.
Input :
hadamard([[1, 2],[3,4]],[[5, 6],[7, 8]])
Output :
[[5,12],[21,32]]
See also 1.37.31 and 1.42.6 for product.



giac documentation written by Renée De Graeve and Bernard Parisse