public static class ivector3dfunctions{ public static double dot(ivector3d u, ivector3d v){ return u.x*v.x+u.y*v.y+u.z*v.z; } }