摘要: 转自http://blog.163.com/shiliping_007/blog/static/25772011201071744031933/向量积 a x b = (^n) * |a| * |b| * sin, 其中^n是同时垂直于a/b且符合右手定则的单位向量。若已知向量a = (ax, ay, az), b = (bx, by, bz);则 a x b = (ay * bz - by * az, az * bx - ax * bz, ax * by - ay * bx);可以把i, j, k和a,b的坐标分别循环写成一行如下:i ~~~~ j ~~~~ k ~~~~ i ~~~~ j 阅读全文
posted @ 2013-08-11 12:18 qingsun_ny 阅读(8490) 评论(0) 推荐(0) 编辑