cgo: add Dlapy2

Updates #142
This commit is contained in:
Vladimir Chalupecky
2016-11-11 09:28:27 +01:00
parent 9801cea083
commit 813a70a2da

View File

@@ -163,6 +163,13 @@ func (impl Implementation) Dlacpy(uplo blas.Uplo, m, n int, a []float64, lda int
lapacke.Dlacpy(uplo, m, n, a, lda, b, ldb)
}
// Dlapy2 is the LAPACK version of math.Hypot.
//
// Dlapy2 is an internal routine. It is exported for testing purposes.
func (Implementation) Dlapy2(x, y float64) float64 {
return lapacke.Dlapy2(x, y)
}
// Dlarfb applies a block reflector to a matrix.
//
// In the call to Dlarfb, the mxn c is multiplied by the implicitly defined matrix h as follows: