File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed
Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -458,6 +458,18 @@ PMComplexNumberTest >> testIsRealOnComplexVector [
458458 self deny: vector isReal
459459]
460460
461+ { #category : #tests }
462+ PMComplexNumberTest >> testIsRealOnRealMatrix [
463+
464+ | matrix |
465+ matrix := PMMatrix rows: #(
466+ #( 1 3 0 )
467+ #( 1 2 -4 )
468+ #( -8 5 -1 ) ).
469+
470+ self assert: matrix isReal
471+ ]
472+
461473{ #category : #tests }
462474PMComplexNumberTest >> testIsRealOnRealVector [
463475
Original file line number Diff line number Diff line change @@ -252,18 +252,6 @@ PMMatrixTest >> testInverseSingularMatrixError [
252252 raise: PMSingularMatrixError .
253253]
254254
255- { #category : #tests }
256- PMMatrixTest >> testIsRealOnRealMatrix [
257- | matrix |
258-
259- matrix := PMMatrix rows: #(
260- (1 3 0)
261- (1 2 - 4 )
262- (- 8 5 - 1 )).
263-
264- self assert: matrix isReal.
265- ]
266-
267255{ #category : #tests }
268256PMMatrixTest >> testLUPDecomposition [
269257 " Code Example 8.10"
You can’t perform that action at this time.
0 commit comments