Re: [pure-lang-users] C macros
Status: Beta
Brought to you by:
agraef
From: Eddie R. <er...@bm...> - 2008-08-26 17:35:12
|
On Tue, 2008-08-26 at 18:32 +0200, Albert Graef wrote: > Eddie Rucker wrote: > > The only thing missing from Pure types is rationals. > > Well, you can always map these to doubles when passing them to GSL. > Agreed. Most of the time doubles or complex values is what many would want anyway. I might use integers for neural networks (but not with fuzzy values) or Number theory stuff so integers, double, and double complex seem to be the best ones to implement. By the way, some matrices with rational numbers can be rewritten to equivalent matrices with integers. Example: 1/2x+5/6y=5/2 2/3x-1/2y=4 multiply both equations through by 6 ==> 3x+5y=15 4x-3y=24 e.r. |