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 @@ -446,6 +446,18 @@ PMComplexNumberTest >> testIsRealOnComplexVector [
446446 self deny: vector isReal
447447]
448448
449+ { #category : #tests }
450+ PMComplexNumberTest >> testIsRealOnRealMatrix [
451+
452+ | matrix |
453+ matrix := PMMatrix rows: #(
454+ #( 1 3 0 )
455+ #( 1 2 -4 )
456+ #( -8 5 -1 ) ).
457+
458+ self assert: matrix isReal
459+ ]
460+
449461{ #category : #tests }
450462PMComplexNumberTest >> testIsRealOnRealVector [
451463
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