Skip to content

Commit

Permalink
Working Configuration of SciSmalltalk.
Browse files Browse the repository at this point in the history
  • Loading branch information
djuber committed May 17, 2012
1 parent 7965886 commit 36e5d74
Show file tree
Hide file tree
Showing 134 changed files with 18 additions and 283 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,8 @@ baseline100: spec
spec blessing: #baseline.
spec repository: 'http://ss3.gemstone.com/ss/SciSmalltalk'.
spec
package: 'Math-DHB-Numerical';
package: 'Math-DHB-Numerical-Tests' with: [spec requires: 'Math-DHB-Numerical'];
package: 'Math-Complex' with: [spec requires: 'Math-DHB-Numerical'];
package: 'Math-ComplexTests' with: [ spec requires: 'Math-Complex' ].
package: 'Math-All'.
spec
group: 'default' with: #('Core');
group: 'Core' with: #('Math-Complex' 'Math-DHB-Numerical');
group: 'Tests' with: #('Math-ComplexTests' 'Math-DHB-Numerical-Tests'). ].
group: 'Core' with: #('Math-All');
group: 'Tests' with: #('Math-All'). ].
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,4 @@ version100: spec
spec for: #common do: [
spec blessing: #release.
spec
package: 'Math-DHB-Numerical' with: 'Math-DHB-Numerical-DanielUber.2';
package: 'Math-DHB-Numerical-Tests' with: 'Math-DHB-Numerical-Tests-DanielUber.1';
package: 'Math-Complex' with: 'Math-Complex-DanielUber.1';
package: 'Math-ComplexTests' with: 'Math-ComplexTests-DanielUber.3'].
package: 'Math-All' with: 'Math-All-DanielUber.3'].

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
(name 'ConfigurationOfSciSmalltalk-DanielUber.9' message 'currently loading DHB-Numerical, then Complex. There is an issue where DHB-Numerical needs Complex and Quaternion due to extensions, and Complex needs DHB-Numerical due to extensions. This may take some rethinking of the package structure (or require an extensions package).' id '9f772bde-a2f4-4d3a-9902-366cb0feeaf2' date '16 May 2012' time '4:11:19.556 pm' author 'DanielUber' ancestors ((name 'ConfigurationOfSciSmalltalk-DanielUber.8' message 'fixed typo in baseline.' id '384b19df-693f-4625-8399-bb2d83b68f14' date '16 May 2012' time '3:52:32.332 pm' author 'DanielUber' ancestors ((name 'ConfigurationOfSciSmalltalk-DanielUber.7' message 'added DHB-Numerical and fixed typos. Added to default and tests.' id 'b22b3ea1-6136-4ad2-ad87-b39fcfe6fb21' date '16 May 2012' time '3:50:26.232 pm' author 'DanielUber' ancestors ((name 'ConfigurationOfSciSmalltalk-DanielUber.6' message 'added DHB-Numerics as a dependency for Math-Complex.' id '2eb9c399-f1a4-4d7f-893d-48d06fc55424' date '16 May 2012' time '3:45:29.334 pm' author 'DanielUber' ancestors ((name 'ConfigurationOfSciSmalltalk-DanielUber.5' message 'added development version' id '0af623af-81f0-47ba-89e0-cc51698b2e9c' date '16 May 2012' time '3:35:20.434 pm' author 'DanielUber' ancestors ((name 'ConfigurationOfSciSmalltalk-DanielUber.4' message 'fixed dependency in baseline from Example-Core to Math-Complex.' id '7c5f16b4-3bfe-43bf-8ff6-33a9682d6f73' date '16 May 2012' time '3:28:34.716 pm' author 'DanielUber' ancestors ((name 'ConfigurationOfSciSmalltalk-DanielUber.3' message 'added version 100' id '3aae054c-4bc9-42e2-972c-dd44b5a1c722' date '16 May 2012' time '3:26:12.942 pm' author 'DanielUber' ancestors ((name 'ConfigurationOfSciSmalltalk-DanielUber.2' message 'created baseline for complex.' id '0c94552e-1fa2-437f-a308-71a3b71ab8dd' date '16 May 2012' time '3:21:19.742 pm' author 'DanielUber' ancestors ((name 'ConfigurationOfSciSmalltalk-DanielUber.1' message 'empty configuration. First commit.' id '2b16cd0b-9384-4fe9-a139-62c2f1fb7e84' date '16 May 2012' time '2:04:26.726 pm' author 'DanielUber' ancestors () stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())
(name 'ConfigurationOfSciSmalltalk-DanielUber.10' message 'modified to try to load Math-All from ss3.' id '58c70684-ae18-470a-95cc-a4d4210e951b' date '17 May 2012' time '2:19:41.766 pm' author 'DanielUber' ancestors ((name 'ConfigurationOfSciSmalltalk-DanielUber.9' message 'currently loading DHB-Numerical, then Complex. There is an issue where DHB-Numerical needs Complex and Quaternion due to extensions, and Complex needs DHB-Numerical due to extensions. This may take some rethinking of the package structure (or require an extensions package).' id '9f772bde-a2f4-4d3a-9902-366cb0feeaf2' date '16 May 2012' time '4:11:19.556 pm' author 'DanielUber' ancestors ((name 'ConfigurationOfSciSmalltalk-DanielUber.8' message 'fixed typo in baseline.' id '384b19df-693f-4625-8399-bb2d83b68f14' date '16 May 2012' time '3:52:32.332 pm' author 'DanielUber' ancestors ((name 'ConfigurationOfSciSmalltalk-DanielUber.7' message 'added DHB-Numerical and fixed typos. Added to default and tests.' id 'b22b3ea1-6136-4ad2-ad87-b39fcfe6fb21' date '16 May 2012' time '3:50:26.232 pm' author 'DanielUber' ancestors ((name 'ConfigurationOfSciSmalltalk-DanielUber.6' message 'added DHB-Numerics as a dependency for Math-Complex.' id '2eb9c399-f1a4-4d7f-893d-48d06fc55424' date '16 May 2012' time '3:45:29.334 pm' author 'DanielUber' ancestors ((name 'ConfigurationOfSciSmalltalk-DanielUber.5' message 'added development version' id '0af623af-81f0-47ba-89e0-cc51698b2e9c' date '16 May 2012' time '3:35:20.434 pm' author 'DanielUber' ancestors ((name 'ConfigurationOfSciSmalltalk-DanielUber.4' message 'fixed dependency in baseline from Example-Core to Math-Complex.' id '7c5f16b4-3bfe-43bf-8ff6-33a9682d6f73' date '16 May 2012' time '3:28:34.716 pm' author 'DanielUber' ancestors ((name 'ConfigurationOfSciSmalltalk-DanielUber.3' message 'added version 100' id '3aae054c-4bc9-42e2-972c-dd44b5a1c722' date '16 May 2012' time '3:26:12.942 pm' author 'DanielUber' ancestors ((name 'ConfigurationOfSciSmalltalk-DanielUber.2' message 'created baseline for complex.' id '0c94552e-1fa2-437f-a308-71a3b71ab8dd' date '16 May 2012' time '3:21:19.742 pm' author 'DanielUber' ancestors ((name 'ConfigurationOfSciSmalltalk-DanielUber.1' message 'empty configuration. First commit.' id '2b16cd0b-9384-4fe9-a139-62c2f1fb7e84' date '16 May 2012' time '2:04:26.726 pm' author 'DanielUber' ancestors () stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())
2 changes: 1 addition & 1 deletion Math-All.package/monticello.meta/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
(name 'Math-All-DanielUber.1' message 'created Math-All' id '37cad6df-3b90-4295-b14d-4a6ef515bf12' date '17 May 2012' time '12:39:21.856 pm' author 'DanielUber' ancestors () stepChildren ())
(name 'Math-All-DanielUber.3' message 'saving to ss3' id '7491cd05-155a-43a2-8028-bfdc984e15bb' date '17 May 2012' time '2:12:57.726 pm' author 'DanielUber' ancestors ((name 'Math-All-DanielUber.2' message 'added required packages.' id 'd4348dfc-39b5-465f-ab97-c0c2967f4e90' date '17 May 2012' time '1:42:29.392 pm' author 'DanielUber' ancestors ((name 'Math-All-DanielUber.1' message 'created Math-All' id '37cad6df-3b90-4295-b14d-4a6ef515bf12' date '17 May 2012' time '12:39:21.856 pm' author 'DanielUber' ancestors () stepChildren ())) stepChildren ())) stepChildren ())
2 changes: 0 additions & 2 deletions Math-Complex.package/Complex.class/properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"category" : "Math-Complex",
"classinstvars" : [
],
"classtraitcomposition" : "{}",
"classvars" : [
],
"commentStamp" : "mk 10/31/2003 22:19",
Expand All @@ -13,5 +12,4 @@
"pools" : [
],
"super" : "Object",
"traitcomposition" : "{}",
"type" : "normal" }
2 changes: 1 addition & 1 deletion Math-Complex.package/monticello.meta/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
(name 'Math-Complex-DanielUber.1' message 'Separated Math-Complex' id '764f893c-e8a4-4b58-bdf6-69d5b4024f25' date '13 May 2012' time '2:54:20.184 pm' author 'DanielUber' ancestors () stepChildren ())
(name 'Math-Complex-DanielUber.3' message 'saving to clear nautilus dirty mark.' id 'e833e329-927d-40b8-bc4f-af7af3285b8c' date '16 May 2012' time '1:28:18.764 pm' author 'DanielUber' ancestors ((name 'Math-Complex-nice.2' message 'Complex>>asComplex was missingThanks Werner Kassens.' id 'bf373b3d-5dd1-ab47-ba6c-d113ed349e10' date '16 October 2011' time '4:36:54 pm' author 'nice' ancestors ((name 'Math-Complex-nice.1' message 'This package contains Complex numbers extracted from Squeak trunk Kernel.eem.633.mczThis package supersedes Math-Complex-extensions which are now included in Math-Complex.In Squeak, this will override Kernel.Complex, so it''s better to not load the package until removed from Kernel.In Pharo, it might be necessary to load Math-Number-extensions to get hyperbolic and inverse hyperbolic functions.' id '0a59b280-6409-4fba-91ba-7f1a4235aa95' date '14 October 2011' time '12:12:42.657 am' author 'nice' ancestors () stepChildren ())) stepChildren ())) stepChildren ())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"category" : "Math-DHB-Numerical-Tests",
"classinstvars" : [
],
"classtraitcomposition" : "{}",
"classvars" : [
],
"commentStamp" : "",
Expand All @@ -12,5 +11,4 @@
"pools" : [
],
"super" : "TestCase",
"traitcomposition" : "{}",
"type" : "normal" }
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"category" : "Math-DHB-Numerical",
"classinstvars" : [
],
"classtraitcomposition" : "{}",
"classvars" : [
],
"commentStamp" : "",
Expand All @@ -12,5 +11,4 @@
"pools" : [
],
"super" : "Object",
"traitcomposition" : "{}",
"type" : "normal" }
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"category" : "Math-DHB-Numerical",
"classinstvars" : [
],
"classtraitcomposition" : "{}",
"classvars" : [
],
"commentStamp" : "",
Expand All @@ -14,5 +13,4 @@
"pools" : [
],
"super" : "DhbProbabilityDensity",
"traitcomposition" : "{}",
"type" : "normal" }
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"category" : "Math-DHB-Numerical",
"classinstvars" : [
],
"classtraitcomposition" : "{}",
"classvars" : [
],
"commentStamp" : "",
Expand All @@ -17,5 +16,4 @@
"pools" : [
],
"super" : "DhbProbabilityDensity",
"traitcomposition" : "{}",
"type" : "normal" }
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"category" : "Math-DHB-Numerical",
"classinstvars" : [
],
"classtraitcomposition" : "{}",
"classvars" : [
],
"commentStamp" : "",
Expand All @@ -13,5 +12,4 @@
"pools" : [
],
"super" : "DhbFunctionalIterator",
"traitcomposition" : "{}",
"type" : "normal" }
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"category" : "Math-DHB-Numerical",
"classinstvars" : [
],
"classtraitcomposition" : "{}",
"classvars" : [
],
"commentStamp" : "",
Expand All @@ -12,5 +11,4 @@
"pools" : [
],
"super" : "DhbNevilleInterpolator",
"traitcomposition" : "{}",
"type" : "normal" }
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"category" : "Math-DHB-Numerical",
"classinstvars" : [
],
"classtraitcomposition" : "{}",
"classvars" : [
],
"commentStamp" : "",
Expand All @@ -13,5 +12,4 @@
"pools" : [
],
"super" : "DhbProbabilityDensity",
"traitcomposition" : "{}",
"type" : "normal" }
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"category" : "Math-DHB-Numerical",
"classinstvars" : [
],
"classtraitcomposition" : "{}",
"classvars" : [
],
"commentStamp" : "",
Expand All @@ -12,5 +11,4 @@
"pools" : [
],
"super" : "DhbGammaDistribution",
"traitcomposition" : "{}",
"type" : "normal" }
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"category" : "Math-DHB-Numerical",
"classinstvars" : [
],
"classtraitcomposition" : "{}",
"classvars" : [
],
"commentStamp" : "",
Expand All @@ -15,5 +14,4 @@
"pools" : [
],
"super" : "Object",
"traitcomposition" : "{}",
"type" : "normal" }
2 changes: 0 additions & 2 deletions Math-DHB-Numerical.package/DhbCluster.class/properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"category" : "Math-DHB-Numerical",
"classinstvars" : [
],
"classtraitcomposition" : "{}",
"classvars" : [
],
"commentStamp" : "",
Expand All @@ -13,5 +12,4 @@
"pools" : [
],
"super" : "Object",
"traitcomposition" : "{}",
"type" : "normal" }
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"category" : "Math-DHB-Numerical",
"classinstvars" : [
],
"classtraitcomposition" : "{}",
"classvars" : [
],
"commentStamp" : "",
Expand All @@ -14,5 +13,4 @@
"pools" : [
],
"super" : "DhbIterativeProcess",
"traitcomposition" : "{}",
"type" : "normal" }
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"category" : "Math-DHB-Numerical",
"classinstvars" : [
],
"classtraitcomposition" : "{}",
"classvars" : [
"UniqueInstance" ],
"commentStamp" : "",
Expand All @@ -15,5 +14,4 @@
"pools" : [
],
"super" : "Object",
"traitcomposition" : "{}",
"type" : "normal" }
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"category" : "Math-DHB-Numerical",
"classinstvars" : [
],
"classtraitcomposition" : "{}",
"classvars" : [
],
"commentStamp" : "",
Expand All @@ -13,5 +12,4 @@
"pools" : [
],
"super" : "DhbInfiniteSeries",
"traitcomposition" : "{}",
"type" : "normal" }
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"category" : "Math-DHB-Numerical",
"classinstvars" : [
],
"classtraitcomposition" : "{}",
"classvars" : [
],
"commentStamp" : "",
Expand All @@ -12,5 +11,4 @@
"pools" : [
],
"super" : "DhbVectorAccumulator",
"traitcomposition" : "{}",
"type" : "normal" }
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"category" : "Math-DHB-Numerical",
"classinstvars" : [
],
"classtraitcomposition" : "{}",
"classvars" : [
],
"commentStamp" : "",
Expand All @@ -12,5 +11,4 @@
"pools" : [
],
"super" : "DhbCluster",
"traitcomposition" : "{}",
"type" : "normal" }
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"category" : "Math-DHB-Numerical",
"classinstvars" : [
],
"classtraitcomposition" : "{}",
"classvars" : [
"Digits" ],
"commentStamp" : "",
Expand All @@ -13,5 +12,4 @@
"pools" : [
],
"super" : "Object",
"traitcomposition" : "{}",
"type" : "normal" }
14 changes: 7 additions & 7 deletions Math-DHB-Numerical.package/DhbErfApproximation.class/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ aNumber errorFunction

which produces the same result.

Instance variables constant and series are part of the approximation formula. norm is a scale factor to make erf(infinity) = 1.
If you need the error function as a function, you will need to enclose it in a block as:

The error function is the Cumulative Distribution of the standard normal distribution. Thus, erf(x) represents the probability of a random variable with standard normal distribution being less than x. The approximation used is credited to Abramowitz and Stegun's Handbook of Mathematical Functions. The error function is detailed in Chapter 7.
| errorFunction |
errorFunction := [:x | x errorFunction].

Additional resources available from NIST Digital Library of Mathematics at:
http://dlmf.nist.gov/7
Instance variables constant and series are part of the approximation formula. norm is a scale factor to make erf(infinity) = 1.

If you need the error function as a function, you will need to enclose it in a block as:
The error function is the Cumulative Distribution of the standard normal distribution. Thus, erf(x) represents the probability of a random variable with standard normal distribution being less than x. The approximation used is credited to Abramowitz and Stegun's Handbook of Mathematical Functions. The error function is detailed in Chapter 7. The implementation is detailed in Besset's book Section 2.3

| errorFunction |
errorFunction := [:x | x errorFunction].
Additional resources available from NIST Digital Library of Mathematics at:
http://dlmf.nist.gov/7
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"category" : "Math-DHB-Numerical",
"classinstvars" : [
],
"classtraitcomposition" : "{}",
"classvars" : [
"UniqueInstance" ],
"commentStamp" : "<historical>",
Expand All @@ -14,5 +13,4 @@
"pools" : [
],
"super" : "Object",
"traitcomposition" : "{}",
"type" : "normal" }
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"category" : "Math-DHB-Numerical",
"classinstvars" : [
],
"classtraitcomposition" : "{}",
"classvars" : [
],
"commentStamp" : "",
Expand All @@ -12,5 +11,4 @@
"pools" : [
],
"super" : "DhbPolynomial",
"traitcomposition" : "{}",
"type" : "normal" }
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"category" : "Math-DHB-Numerical",
"classinstvars" : [
],
"classtraitcomposition" : "{}",
"classvars" : [
],
"commentStamp" : "",
Expand All @@ -12,5 +11,4 @@
"pools" : [
],
"super" : "DhbCluster",
"traitcomposition" : "{}",
"type" : "normal" }
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"category" : "Math-DHB-Numerical",
"classinstvars" : [
],
"classtraitcomposition" : "{}",
"classvars" : [
],
"commentStamp" : "",
Expand All @@ -12,5 +11,4 @@
"pools" : [
],
"super" : "DhbProbabilityDensity",
"traitcomposition" : "{}",
"type" : "normal" }
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"category" : "Math-DHB-Numerical",
"classinstvars" : [
],
"classtraitcomposition" : "{}",
"classvars" : [
],
"commentStamp" : "",
Expand All @@ -12,5 +11,4 @@
"pools" : [
],
"super" : "DhbStatisticalMoments",
"traitcomposition" : "{}",
"type" : "normal" }
Loading

0 comments on commit 36e5d74

Please sign in to comment.