Skip to content

Commit

Permalink
moved directory structure to toplevel. Recovered Number Extensions an…
Browse files Browse the repository at this point in the history
…d Complex Extensions. All tests green.
  • Loading branch information
djuber committed May 17, 2012
1 parent 9fe25ae commit 7965886
Show file tree
Hide file tree
Showing 1,956 changed files with 433 additions and 122 deletions.
File renamed without changes.
1 change: 1 addition & 0 deletions Math-All.package/monticello.meta/package
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
(name 'Math-All')
1 change: 1 addition & 0 deletions Math-All.package/monticello.meta/version
Original file line number Diff line number Diff line change
@@ -0,0 +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 ())
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
*Math-Complex-Extensions-private
floatClass
"Answer the class suitable for doing floating point operations.
In default Squeak, this is Float.
In an image with single and double IEEE 754 floating point numbers,
this would depend on the class of real and imaginary parts"

^Float
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
*Math-Complex-Extensions-converting
i: aNumber
"Form a complex number with
receiver as realPart
aNumber as imaginaryPart
this is the same as (self + aNumber i) but a little bit more efficient."

aNumber isNumber ifFalse: [self error: 'Badly formed complex number'].
^Complex real: self imaginary: aNumber
1 change: 1 addition & 0 deletions Math-Complex-Extensions.package/monticello.meta/package
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
(name 'Math-Complex-Extensions')
1 change: 1 addition & 0 deletions Math-Complex-Extensions.package/monticello.meta/version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
(name 'Math-Complex-Extensions-DanielUber.9' message 'added to Complex-Extensions to SciSmalltak.' id 'bef81753-1f86-4146-91f7-d7af722f6069' date '17 May 2012' time '1:14:03.37 pm' author 'DanielUber' ancestors ((name 'Math-Complex-Extensions-nice.8' message 'Remove the extensions that have been added to Squeak trunk 4.3' id 'ed4992a5-7404-486e-a11e-2c64ded5c232' date '21 July 2011' time '11:18:17.656 pm' author 'nice' ancestors ((name 'Math-Complex-Extensions-nice.7' message 'Revised #raisedTo: #raisedToInteger:Added class methods #one #zeroThis is to correct:self should: [0 i raisedTo: -2] raise: ZeroDivide' id '76ec81a5-9dd8-440f-9563-a57e82c436b4' date '18 September 2008' time '10:59:21 pm' author 'nice' ancestors ((name 'Math-Complex-Extensions-nice.6' message 'publish on squeaksource' id 'ffec0cd5-ad24-43b2-863f-56ff2aac2161' date '22 June 2006' time '1:39:49 am' author 'nice' ancestors ((name 'Math-Complex-Extensions-nice.5' message 'removed unecessary FloatComplexArray' id 'bd228826-60f2-4a30-9cd5-8ddb9ec0257a' date '19 May 2006' time '10:23:13 pm' author 'nice' ancestors ((name 'Math-Complex-Extensions-nice.4' message 'fixed new:' id 'e620e501-6b53-4177-bc85-c44e499191de' date '17 May 2006' time '11:47:52 pm' author 'nice' ancestors ((name 'Math-Complex-Extensions-nice.3' message '' id '57d230a9-fd48-4b01-9220-c47d68c29584' date '7 May 2006' time '9:03:04 pm' author 'nice' ancestors ((name 'Math-Complex-Extensions-nice.2' message 'add FloatComplexArray' id 'f4a0622e-2e01-4845-a96d-fc22534e1672' date '24 March 2006' time '1:26:47 am' author 'nice' ancestors () stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*Math-Complex-Extensions
adaptToComplex: rcvr andSend: selector
^(self class coefficients: (Array with: rcvr) ) perform: selector with: self
File renamed without changes.
1 change: 0 additions & 1 deletion Math-Complex/.filetree

This file was deleted.

File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"category" : "Math-ComplexTests",
"classinstvars" : [
],
"classtraitcomposition" : "{}",
"classvars" : [
],
"commentStamp" : "",
Expand All @@ -12,5 +11,4 @@
"pools" : [
],
"super" : "TestCase",
"traitcomposition" : "{}",
"type" : "normal" }
1 change: 1 addition & 0 deletions Math-ComplexTests.package/monticello.meta/version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
(name 'Math-ComplexTests-DanielUber.3' message 'saving to clear nautilus dirty mark.' id '31c6cd0b-31e3-450f-93ee-05d178603ec8' date '16 May 2012' time '1:28:42.458 pm' author 'DanielUber' ancestors ((name 'Math-ComplexTests-nice.2' message 'A few more tests...' id 'cb84174d-d436-bb40-a9da-510cab171f2a' date '16 October 2011' time '4:55:13 pm' author 'nice' ancestors ((name 'Math-ComplexTests-nice.1' message 'The tests for Complex numbers extracted from Squeak trunk KernelTests.ul.202.mcz' id '921780e9-f953-4265-a443-27c611315c82' date '14 October 2011' time '12:24:46.683 am' author 'nice' ancestors () stepChildren ())) stepChildren ())) stepChildren ())
File renamed without changes.
1 change: 0 additions & 1 deletion Math-ComplexTests/.filetree

This file was deleted.

This file was deleted.

File renamed without changes.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
function evaluation
testErrorFunction
"simple cases to expect"
self should: [0 errorFunction = (1 / 2)].
self should:
[ DhbFloatingPointMachine new largestNumber errorFunction >
(1 - DhbFloatingPointMachine new machinePrecision )].
self should:
[DhbFloatingPointMachine new largestNumber negated errorFunction < DhbFloatingPointMachine new smallestNumber ].
1 change: 1 addition & 0 deletions Math-DHB-Numerical-Tests.package/monticello.meta/version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
(name 'Math-DHB-Numerical-Tests-DanielUber.2' message 'Added test for error function.' id 'e6f4289a-c43c-47c4-81eb-6d901a5836df' date '16 May 2012' time '6:30:38.226 pm' author 'DanielUber' ancestors ((name 'Math-DHB-Numerical-Tests-DanielUber.1' message 'Separated Tests for DHB-Numerical' id 'b6966300-8c7d-436f-bf71-17678b24dc4d' date '13 May 2012' time '3:22:54.348 pm' author 'DanielUber' ancestors () stepChildren ())) stepChildren ())
1 change: 0 additions & 1 deletion Math-DHB-Numerical-Tests/.filetree

This file was deleted.

This file was deleted.

File renamed without changes.
Loading

0 comments on commit 7965886

Please sign in to comment.