This is not nesscarely true in C++. To avoid using macros I would instead use an inline function if such optimization were needed. I'm actually working on an nth dimensional vector class. Its kinda funOriginally Posted by BobMcGee123
Being a little picky but thats saying to take the absolute value of A & B. To indicate magnitude it'd be:A . B = |A| |B| cos
||A|| ||B||