mat: add non-conjugate transpose for complex matrices

This commit is contained in:
Dan Kortschak
2021-01-07 07:48:49 +10:30
committed by GitHub
parent 9076f1c7d1
commit 1c2011e56d
5 changed files with 335 additions and 38 deletions

View File

@@ -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)
}