a numerical methods package for Squeak (or other Smalltalks, like VisualWorks)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|

a numerical methods package for Squeak (or other Smalltalks, like VisualWorks)

Squeak - Dev mailing list

I found Didier Besset's book 'Object-Oriented Implementation of Numerical Methods' [1] online. I think the Smalltalk code package I am looking for came from this book/author. Perhaps it was called NumericalMethods, but in searching for this package I cannot find any code. Would anyone out here know of this package? I last used it around 2002 in VisualWorks. It had all sorts of distributions and infinite series and other function classes. Pretty awesome.

I am very interested to find it in order to do coronavirus infection distributions, with a Monte Carlo simulation and using a distribution to define the delay between infection time and the onset/appearance of symptoms and finally the delay from that onset to reporting to a hospital. The goal is I want to calculate Rt [2], for NC and VA, the effective reproductive rate in time. As calculated by the founders of Instagram, NC is now below 1 [3].

[1] Object-Oriented Implementation of Numerical Methods - https://www.google.com/books/edition/Object_Oriented_Implementation_of_Numeri/QPX7_MP8w5UC?hl=en&gbpv=1&dq=smalltalk+poisson+distribution+didier+besset&pg=PA748&printsec=frontcover

[2] The Metric We Need to Manage COVID-19 - http://systrom.com/blog/the-metric-we-need-to-manage-covid-19/

[3] Rt Covid-19 - https://rt.live/

I appreciate any guidance you could give me to find this software. Gotta a link? I would love it!!

-- Kindly, Robert

Reply | Threaded
Open this post in threaded view
|

Re: a numerical methods package for Squeak (or other Smalltalks, like VisualWorks)

Stéphane Rollandin
I use it in muO. Attached.

Stef



DHB Numerical.zip (70K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: a numerical methods package for Squeak (or other Smalltalks, like VisualWorks)

Stéphane Rollandin
Reply | Threaded
Open this post in threaded view
|

Re: a numerical methods package for Squeak (or other Smalltalks, like VisualWorks)

Squeak - Dev mailing list
In reply to this post by Stéphane Rollandin
Awesome! Thanks so much! What is muO. Could you say a little about your uses?

Kindly,
Robert


On Fri, Apr 24, 2020 at 17:01, Stéphane Rollandin <[hidden email]> wrote:
I use it in muO. Attached.

Stef





Reply | Threaded
Open this post in threaded view
|

Re: a numerical methods package for Squeak (or other Smalltalks, like VisualWorks)

Squeak - Dev mailing list
In reply to this post by Stéphane Rollandin
Hi Stéphane,

I see the links to github hosted code. Can Squeak load these somehow? Hopefully not in Tonal format! How could I load these?

Kindly,
Robert


On Fri, Apr 24, 2020 at 17:08, Stéphane Rollandin <[hidden email]> wrote:
Also, it is part of SciSmalltalk according to the 2015 version of the book:

https://files.pharo.org/books-pdfs/numerical-methods/2015-NumericalMethods-EN.pdf

https://github.com/PolyMathOrg/PolyMath/wiki/SciSmalltalk-Contents

Stef





Reply | Threaded
Open this post in threaded view
|

Re: a numerical methods package for Squeak (or other Smalltalks, like VisualWorks)

Stéphane Rollandin
> I see the links to github hosted code. Can Squeak load these somehow?
> Hopefully not in Tonal format! How could I load these?

No idea about that, sorry - I just saw it this evening.

Stef


Reply | Threaded
Open this post in threaded view
|

Re: a numerical methods package for Squeak (or other Smalltalks, like VisualWorks)

Stéphane Rollandin
In reply to this post by Squeak - Dev mailing list
> Awesome! Thanks so much! What is muO. Could you say a little about your
> uses?
Well I do not really use it actually, it just happened that I have been
interested in probability densities at some point, and so I added the
code to the muO distribution to have everything at hand.

muO is a framework for musical composition:
http://www.zogotounga.net/comp/squeak/sqgeo.htm

Best,

Stef

Reply | Threaded
Open this post in threaded view
|

Re: a numerical methods package for Squeak (or other Smalltalks, like VisualWorks)

Squeak - Dev mailing list
Oh yeah, that's cool. I like your muO compositions! I barely know how to
lay a couple of instruments, still learning. We tried an online
bluegrass jam with Zoom and latency was certainly a problem with playing
together over the net. Isn't there a Squeak system of online music? I
had thought so.

I will explore the software you sent from Didier Besset. Awesome!!

K, r

On 4/24/20 6:26 PM, Stéphane Rollandin wrote:

>> Awesome! Thanks so much! What is muO. Could you say a little about your
>> uses?
> Well I do not really use it actually, it just happened that I have been
> interested in probability densities at some point, and so I added the
> code to the muO distribution to have everything at hand.
>
> muO is a framework for musical composition:
> http://www.zogotounga.net/comp/squeak/sqgeo.htm
>
> Best,
>
> Stef
>
--
Kindly,
Robert



Reply | Threaded
Open this post in threaded view
|

Re: a numerical methods package for Squeak (or other Smalltalks, like VisualWorks)

marcel.taeumel
In reply to this post by Squeak - Dev mailing list
Hi all!

The "numerical methods package for Squeak" reference reminds me of this rather recent proposal here:

Best,
Marcel

Am 24.04.2020 21:13:36 schrieb Robert via Squeak-dev <[hidden email]>:

I found Didier Besset's book 'Object-Oriented Implementation of Numerical Methods' [1] online. I think the Smalltalk code package I am looking for came from this book/author. Perhaps it was called NumericalMethods, but in searching for this package I cannot find any code. Would anyone out here know of this package? I last used it around 2002 in VisualWorks. It had all sorts of distributions and infinite series and other function classes. Pretty awesome.

I am very interested to find it in order to do coronavirus infection distributions, with a Monte Carlo simulation and using a distribution to define the delay between infection time and the onset/appearance of symptoms and finally the delay from that onset to reporting to a hospital. The goal is I want to calculate Rt [2], for NC and VA, the effective reproductive rate in time. As calculated by the founders of Instagram, NC is now below 1 [3].

[1] Object-Oriented Implementation of Numerical Methods - <a class="moz-txt-link-freetext" href="https://www.google.com/books/edition/Object_Oriented_Implementation_of_Numeri/QPX7_MP8w5UC?hl=en&amp;gbpv=1&amp;dq=smalltalk&#43;poisson&#43;distribution&#43;didier&#43;besset&amp;pg=PA748&amp;printsec=frontcover">https://www.google.com/books/edition/Object_Oriented_Implementation_of_Numeri/QPX7_MP8w5UC?hl=en&gbpv=1&dq=smalltalk+poisson+distribution+didier+besset&pg=PA748&printsec=frontcover

[2] The Metric We Need to Manage COVID-19 - http://systrom.com/blog/the-metric-we-need-to-manage-covid-19/

[3] Rt Covid-19 - https://rt.live/

I appreciate any guidance you could give me to find this software. Gotta a link? I would love it!!

-- Kindly, Robert


Reply | Threaded
Open this post in threaded view
|

Re: a numerical methods package for Squeak (or other Smalltalks, like VisualWorks)

Stéphane Rollandin
> The "numerical methods package for Squeak" reference reminds me of this
> rather recent proposal here:
> http://forum.world.st/Proposal-Geometry-Classes-td5093998.html

FWIW I have implemented several computational geometry algorithms and
data structures for my current game.

Doubly-connected edges list, Voronoi tesselations (with the non-trivial
and very fast Fortune's algorithm), Polygon, Graphs (and A*/Djikstra), a
couple more stuff


Stef

Reply | Threaded
Open this post in threaded view
|

Re: a numerical methods package for Squeak (or other Smalltalks, like VisualWorks)

Karl Ramberg


On Sun, Apr 26, 2020 at 5:19 PM Stéphane Rollandin <[hidden email]> wrote:
> The "numerical methods package for Squeak" reference reminds me of this
> rather recent proposal here:
> http://forum.world.st/Proposal-Geometry-Classes-td5093998.html

FWIW I have implemented several computational geometry algorithms and
data structures for my current game.

Doubly-connected edges list, Voronoi tesselations (with the non-trivial
and very fast Fortune's algorithm), Polygon, Graphs (and A*/Djikstra), a
couple more stuff

Cool stuff .

Best,
Karl

Stef



Reply | Threaded
Open this post in threaded view
|

Re: a numerical methods package for Squeak (or other Smalltalks, like VisualWorks)

Jakob Reschke
In reply to this post by Squeak - Dev mailing list
I had a quick look and these packages
(https://github.com/PolyMathOrg/PolyMath) are indeed stored in Tonel
format. Metacello does not support that in Squeak at the moment.

I minimally ported the basic Monticello reading and writing of Tonel
to Squeak last year (not in Trunk), but it only allows you to load
packages from the file system one at a time through Monticello (no
dependency management and not even proper version management).

The Git Browser can also load Tonel projects (and manage versions in
Git, obviously), but it does not do dependency management either.
Moreover if this library is written for Pharo 7 and 8, it's fairly
sure that something will not work (or even load) out of the box in
Squeak. At least some porting effort would probably be required.

Am Sa., 25. Apr. 2020 um 00:00 Uhr schrieb Robert via Squeak-dev
<[hidden email]>:

>
> Hi Stéphane,
>
> I see the links to github hosted code. Can Squeak load these somehow? Hopefully not in Tonal format! How could I load these?
>
> Kindly,
> Robert
>
>
> On Fri, Apr 24, 2020 at 17:08, Stéphane Rollandin <[hidden email]> wrote:
>
> Also, it is part of SciSmalltalk according to the 2015 version of the book:
>
> https://files.pharo.org/books-pdfs/numerical-methods/2015-NumericalMethods-EN.pdf
>
> https://github.com/PolyMathOrg/PolyMath/wiki/SciSmalltalk-Contents
>
> Stef
>
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: a numerical methods package for Squeak (or other Smalltalks, like VisualWorks)

Nicolas Cellier
I've got a few utility packages maintained in Squeak (via MC):

I have some more unpublished, but no time to polish now...

Note that ArbitraryPrecisionFloat and Quaternion have been integrated into polymath, but might be a few versions behind
(they forked and renamed the classes, so...)
Cuis folks wanted to port Polymath, it might be easier to re-import from Cuis if that ever happen.
I also advise to follow https://github.com/len/Domains


Le dim. 26 avr. 2020 à 21:24, Jakob Reschke <[hidden email]> a écrit :
I had a quick look and these packages
(https://github.com/PolyMathOrg/PolyMath) are indeed stored in Tonel
format. Metacello does not support that in Squeak at the moment.

I minimally ported the basic Monticello reading and writing of Tonel
to Squeak last year (not in Trunk), but it only allows you to load
packages from the file system one at a time through Monticello (no
dependency management and not even proper version management).

The Git Browser can also load Tonel projects (and manage versions in
Git, obviously), but it does not do dependency management either.
Moreover if this library is written for Pharo 7 and 8, it's fairly
sure that something will not work (or even load) out of the box in
Squeak. At least some porting effort would probably be required.

Am Sa., 25. Apr. 2020 um 00:00 Uhr schrieb Robert via Squeak-dev
<[hidden email]>:
>
> Hi Stéphane,
>
> I see the links to github hosted code. Can Squeak load these somehow? Hopefully not in Tonal format! How could I load these?
>
> Kindly,
> Robert
>
>
> On Fri, Apr 24, 2020 at 17:08, Stéphane Rollandin <[hidden email]> wrote:
>
> Also, it is part of SciSmalltalk according to the 2015 version of the book:
>
> https://files.pharo.org/books-pdfs/numerical-methods/2015-NumericalMethods-EN.pdf
>
> https://github.com/PolyMathOrg/PolyMath/wiki/SciSmalltalk-Contents
>
> Stef
>
>
>
>