[squeak-dev] Quantities and Units

Gabriel Cotelli g.cotelli at gmail.com
Mon Jan 9 14:11:10 UTC 2012


Hi Ben,
We use Aconcagua in our financial app (
http://www.squeaksource.com/Aconcagua.html). Well, our version of Aconcagua
(probably have some changes now). We are running it in VA Smalltalk and
GemStone/S, and at the time the port to Pharo/Squeak/VW was easy. There's
also a Paper available.<http://stephane.ducasse.free.fr/Teaching/CoursAnnecy/0506-M1-COO/aconcagua-p292-wilkinson.pdf>
The
package have a good number of test cases that probably can serve as
examples. If you're implementing this kind of thing is a good idea to learn
a little about Dimensional
analysis<http://en.wikipedia.org/wiki/Dimensional_analysis>

Hope it helps,
Gabriel

On Sun, Jan 8, 2012 at 2:21 AM, Ben Coman <btc at openinworld.com> wrote:

>
> I am implementing a model defined with quantity data having {value,
> multiplier, unit} where
> multiplier is  m, c, k, M, etc
> unit is V, A, Hz, W, etc
>
> So I am looking for what quantities/units packages are around before
> trying to write my own.
>
> I have downloaded [1] and had a poke around there with the tests.  Are
> there any further examples around of how to use it and to define new units?
>  I notice that Voltage=Joules/Columb is not defined.
>
> Is anyone have any familiar with ports of packages mentioned here [2] [3]
> [4] from other platforms?
>
> cheers, Ben
>
> [1] http://www.squeaksource.com/**Units.html<http://www.squeaksource.com/Units.html>
> [2] http://www.cincomsmalltalk.**com/publicRepository/**Quantities.html<http://www.cincomsmalltalk.com/publicRepository/Quantities.html>
> [3] http://www.smalltalking.net/**goodies/Dolphin/<http://www.smalltalking.net/goodies/Dolphin/>(scroll to bottom)
> [4] http://comments.gmane.org/**gmane.comp.lang.smalltalk.**
> squeak.general/55894<http://comments.gmane.org/gmane.comp.lang.smalltalk.squeak.general/55894>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20120109/8b86ad34/attachment.htm


More information about the Squeak-dev mailing list