I guess I'm a little rusty in vector math, but can anyone tell me what the dot product of three matrices means? (i.e. is there a geometric interpretation?) And in what field of study does it come in handy?
I think by "three matrices" OP meant "two vectors" .. it's just that instead of having $Ax,$Ay,$Az and $Bx, $By, $Bz, OP is instead passing [$Ax, $Bx], [$Ay,$By], [$Az,$Bz] to his sub.