I have been stuck on that line of code from last 1 hour, where did that dot product came from. I think that dot product is there to square the values. But still cant understand why dot with ‘X’.
Was about to go over stackoverflow but decided to check here first.