This would remove the coupling between Collections and Complex numbers (which live in a separate package).
Some (perhaps not all) examples include:
- PMVector >> isReal
- PMMatrix >> isReal
- PMVectorTest >> testIsRealOnComplexVector
- PMVectorTest >> testIsRealOnRealVector
- PMMatrixTest >> testIsRealOnComplexMatrix
- PMMatrixTest >> testIsRealOnRealMatrix
Those methods can apply both to real and complex matrices. But implementation depends on PMComplex, so I don't know what to do there:
- PMMatrix >> isHermitian
- PMMatrix >> isNegativeDefinite
- PMMatrix >> isNegativeSemiDefinite
- PMMatrix >> isPositiveDefinite
- PMMatrix >> isPositiveSemiDefinite
This would remove the coupling between Collections and Complex numbers (which live in a separate package).
Some (perhaps not all) examples include:
Those methods can apply both to real and complex matrices. But implementation depends on PMComplex, so I don't know what to do there: