Search Postgresql Archives

Re: Extended unit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If you allow multiplication and division, you'd need to store not only one type, but an expression like m.s^-2, etc. You'll end up with something with Maple. Isn't there some free open source algebraic computation toolkit with equations and units somewhere ?
Yes and no.
I am in the (slow) process to have a small library that do a parsing of this string.
I want to have, + - * / square power function.
We do not need a full algebraic parser.


I restrict for my test the pattern of the type in human reading form as
m.s-1.
A2.m.s-1.rad-2.

no space, separator is point, no power sign, no plus sign for power.

The main trouble is to be clean the power should be in "fraction" space. and not in "double precision" space. That is just more fun to add ;-)

Cordialement,
Jean-Gérard Pailloncy


---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux