On Wed, 10 May 2006, [EMAIL PROTECTED] wrote:

Hello

I attached here a proposition for a gsl_quaternion base on the gsl_complex.
The tar file containe a quaternion directory.
Just extract it and apply the patch to the gsl CVS version:
The patch just add the quaternion directory to the makefile.am and modify 
configure.ac
the generation the Makefile from the quaternion directory.

after this regenerate the ./configure and ./configure;make

I ispired myself a lot from the gsl_complex as quaternion are a generalization 
of the complex.
I hope it will not be to painfull to test.

for now I have just implemented
the basic add sub mul and somme other basic method.
please have a look at the gsl_quaternin_math.h

For each function of math.c I wrote a test in test.c

Interesting idea.  Are you thinking of adding support for generalized
geometric (division) algebras (clifford algebras) of arbitrary grade or
just quaternions?

I'll try to take a look soon, although I'm going to be too busy for a
few days yet.

Thanks!

   rgb

(P.S. -- Happy decade-day to GSL and many thanks to the whole GSL
team:-)


Have a good day.

Frederic


--
Robert G. Brown                        http://www.phy.duke.edu/~rgb/
Duke University Dept. of Physics, Box 90305
Durham, N.C. 27708-0305
Phone: 1-919-660-2567  Fax: 919-660-2525     email:[EMAIL PROTECTED]


Reply via email to