Page 1 of 1

cartesian coordinates system

Posted: Tue Dec 18, 2018 5:20 am
by saufesma
Hello there

Does anybody knows of a library in lisp to deal with cartesian coordinates system?

Regards,

Re: cartesian coordinates system

Posted: Tue Dec 18, 2018 7:01 pm
by nuntius
What operations are you looking for? How many dimensions? What does this library integrate with?

On one hand, there are simple roll-your-own solutions, such as the complex coordinate system in SICP.
https://mitpress.mit.edu/sites/default/ ... -H-17.html

On the other hand, there are complex vectorized solutions, such as for SSE or GPU acceleration.
https://github.com/angavrilov/cl-simd
https://github.com/angavrilov/cl-gpu

Most graphics libraries have their own 2D or 3D vector library.

Re: cartesian coordinates system

Posted: Wed Dec 19, 2018 7:24 am
by saufesma
I need to check length of rod from four-link mechanism kinematic analysis, so I need 2D. And I assume I need functions to deal with angles of movement of crank and rocker arm. So to speak.