This is a read-only archive of lispforum.com. The forum was locked to new users and posts and is preserved here as static HTML from a database snapshot taken on 2019-09-07.

Vector Calculations...

2 posts · 653 views

Hi I need to write a code about vectors I hope someone could help me... Sincerely..

Assume I defined vectors in 3-D and I need to find magnitude of a vector, norm of a vector, distance (between two points), dot product, cross product.

Re: Vector Calculations...

I asked this question before. There are many libraries doing some stuff with 'numerical'vectors, but imo they're all too involved. I don't really like the class-based one (edit: i put)there much either.

I wrote a little 'vanilla' vector package myself based on VECTOR. Looks like it didn't autodoc the package on the website for some reason, though. Here is an autodoc from another source. You can download that little tarball below the readme, or the loose lisp and asd file. Can't guarantee that it is completely bug-free. Keep messing up things in my website-management :/.