diff --git a/src/BaselineOfPolyMath/BaselineOfPolyMath.class.st b/src/BaselineOfPolyMath/BaselineOfPolyMath.class.st index d327a9a9e..ceb947192 100644 --- a/src/BaselineOfPolyMath/BaselineOfPolyMath.class.st +++ b/src/BaselineOfPolyMath/BaselineOfPolyMath.class.st @@ -176,3 +176,17 @@ BaselineOfPolyMath >> projectClass [ on: NotFound do: [ super projectClass ] ] + +{ #category : #dependencies } +BaselineOfPolyMath >> sMark: spec [ + spec + baseline: 'SMark' + with: [ spec repository: 'github://smarr/SMark:v1.0.4/repository' ] +] + +{ #category : #dependencies } +BaselineOfPolyMath >> xmlWriter: spec [ + spec + baseline: 'XMLWriter' + with: [ spec repository: 'github://pharo-contributions/XML-XMLWriter:2.9.0/src' ] +] diff --git a/src/Math-Core/PMVector.class.st b/src/Math-Core/PMVector.class.st index 15dc6e44f..e3e315d03 100644 --- a/src/Math-Core/PMVector.class.st +++ b/src/Math-Core/PMVector.class.st @@ -206,12 +206,6 @@ PMVector >> householder [ ^Array with: b with: v ] -{ #category : #testing } -PMVector >> isReal [ - "Answer true if all values of the vector are real numbers" - ^ self allSatisfy: [ :each | each isRealNumber ]. -] - { #category : #operation } PMVector >> log [ "Apply log function to every element of a vector" diff --git a/src/Math-Tests-Accuracy/PMAccuracyTestExample.class.st b/src/Math-Tests-Accuracy/PMAccuracyTestExample.class.st index 84ee55b68..45deea586 100644 --- a/src/Math-Tests-Accuracy/PMAccuracyTestExample.class.st +++ b/src/Math-Tests-Accuracy/PMAccuracyTestExample.class.st @@ -23,19 +23,19 @@ PMAccuracyTestExample >> argumentWith: key [ { #category : #tests } PMAccuracyTestExample >> checkAaa [ - (self argumentWith: 'Aaa') first + self argument first ifTrue: [ ^ #(1 1) ]. ^ Array with: (4 + (0.4 * Random new next)) with: 2 ] { #category : #tests } PMAccuracyTestExample >> checkBbb [ - ^ (self argumentWith: 'Bbb') first size + self parameter first + ^ self argument first size + self parameter first ] { #category : #tests } PMAccuracyTestExample >> checkCcc [ - ^ (self argumentWith: 'Ccc') first + (0.01 * self parameter first) + ^ self argument first + (0.01 * self parameter first) ] { #category : #tests } @@ -154,7 +154,7 @@ PMAccuracyTestExample >> tearDown [ PMAccuracyTestExample >> testGetterAaa [ ^Array with: self parameter - with: (self argumentWith: 'Aaa') + with: self argument with: (self resultsAt: 'Aaa') with: (self numberOfDifferentParametersAt: 'Aaa') with: (self numberOfDifferentResultsAt: 'Aaa') @@ -164,7 +164,7 @@ PMAccuracyTestExample >> testGetterAaa [ PMAccuracyTestExample >> testGetterBbb [ ^Array with: self parameter - with: (self argumentWith: 'Bbb') + with: self argument with: (self resultsAt: 'Bbb') with: (self numberOfDifferentParametersAt: 'Bbb') with: (self numberOfDifferentResultsAt: 'Bbb')