Vector Calculations...

Discussion of Common Lisp
Post Reply
orcik1
Posts: 2
Joined: Tue Apr 20, 2010 7:48 pm

Vector Calculations...

Post by orcik1 » Tue May 25, 2010 8:29 pm

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.

Jasper
Posts: 209
Joined: Fri Oct 10, 2008 8:22 am
Location: Eindhoven, The Netherlands
Contact:

Re: Vector Calculations...

Post by Jasper » Wed May 26, 2010 7:54 am

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 :/.

Post Reply