mirror of
https://github.com/gonum/gonum.git
synced 2025-10-08 00:20:11 +08:00
mat: add non-conjugate transpose for complex matrices
This commit is contained in:
@@ -53,7 +53,7 @@ func checkOverlapComplex(a, b cblas128.General) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *CDense) checkOverlapComplex(a cblas128.General) bool {
|
||||
func (m *CDense) checkOverlap(a cblas128.General) bool {
|
||||
return checkOverlapComplex(m.RawCMatrix(), a)
|
||||
}
|
||||
|
||||
@@ -68,5 +68,5 @@ func (m *CDense) checkOverlapMatrix(a CMatrix) bool {
|
||||
case RawCMatrixer:
|
||||
amat = ar.RawCMatrix()
|
||||
}
|
||||
return m.checkOverlapComplex(amat)
|
||||
return m.checkOverlap(amat)
|
||||
}
|
||||
|
Reference in New Issue
Block a user