Help with Matrix Multiplications

Hi,

I’m managed to get an output in the correct format but the numbers don’t match the expected. I’m struggling to understand how the matrix multiplications could be implemented any other way.
Are there any hints that could help?

hi @cg_macdonald

check if this thread helps you debug your codes. Read Paul’s comment for the thread to understand while matrix multiplication you are not suppose to use incorrect function as that cause incorrect calculations and converts your vector into scalar

if still having issue then let us know

regards
DP

1 Like

thank you, I’ve picked up one error from that post, however its just given me a different set of wrong numbers:

what does unittest cell run shows result now?

much the same:

You probably didn’t do the right correction. Send the screenshot of the codes by personal DM. Click on my name and then message