lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Tue, Dec 18, 2012 at 5:06 PM, Wesley Smith <wesley.hoke@gmail.com> wrote:
> A lot of vector libs in C++ use ^ for the cross product since it's a
> specific case of the exterior product, which is usually denoted by ^.

That's a useful convention. Of course, using a general array for
vector calculations is going to be inefficient, compared to the kind
of specialized hand-unrolled vector code that LuaJIT could optimize
into something pretty close to C++.