I have implemented a Matrix
class implementation for matrix manipulation, and so far i can overload ordinary (single) operators such as +
, *
, ...
I want to do Matrix elementary multiplication by overloading the operator (.*), such as i can write
Matrix A(5,3), B(5, 3), C;
C = A .* B;
C, in this case, will hold the value of multiplication element by element from A and B (A and B have same dimensions)
A in this cas will be the matrice transposition of A
Aucun commentaire:
Enregistrer un commentaire