I'm working on converting a python script into SDL, and I have most of the
matrix operations worked out, and just need to do a few more things before I can
start debugging (because you KNOW it never works the first time.)
I wrote a Norm (_Array) macro to take each element of a 2D array, square it, and
sum all the squares, then take the square root of that sum.
I now have this in front of me:
#local err = np.linalg.norm(new_u - U);
Do I make a new array that has each element equaling _A[i][j]-_B[i][j] and then
take the norm of that?
Just checking with anyone running python and familiar enough to give a quick
confirmation one way or the other.
Post a reply to this message