hi,
if the matric u wanted to transpose is nx1, then why u r writing a separate logic for transposing and then for multiplying.
Anyway you need to walk through elements one by one. Instead of vertical traverse, you need to horizontal traversal if you transpose.
Got it? if u have the multiplication logic, do the vertical traversal and multiply. thatz it.
Ram
|