Write a C++ program to express any square matrix as a combination of symmetric and skew symmetric matrix. (Hint: If
we write
A = (A+A’)/2 + (A – A’)/2, then (A+A’)/2 term is symmetric matrix and (A – A’)/2 is skew symmetric matrix, A’ means transpose of A.)
Aucun commentaire:
Enregistrer un commentaire