Web lists-archives.org

Re: cubic equation funtion for C/gtk




On Thu, May 17, 2007 at 07:33:55AM -0400, tj wrote:
> This is slightly off topic, but does anybody know of /have a C/gtk 
> function for solving cubic equations?

Well, Gtk+ is a widget toolkit, not a scientific calculation
library.

> I did a google search and found solve them on the web java scripts and 
> mathmatical explanations, but no C code.

It is quite easy to transform the math to code.

> So does anybody know of one?

See for instance GSL's gsl_poly_solve_cubic() for a good
implementation.  It's GPL.

Yeti

--
http://gwyddion.net/
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list