blas/gonum: remove checkZBandMatrix helper
@@ -37,28 +37,6 @@ func min(a, b int) int {
return a
}
-func checkZBandMatrix(name byte, m, n, kL, kU int, ab []complex128, ldab int) {
- if m < 0 {
- panic(mLT0)
- }
- if n < 0 {
- panic(nLT0)
- }
- if kL < 0 {
- panic(kLLT0)
- }
- if kU < 0 {
- panic(kULT0)
- }
- if ldab < kL+kU+1 {
- panic("blas: illegal stride of band matrix " + string(name))
- }
- nRow := min(m, n+kL)
- if len(ab) < (nRow-1)*ldab+kL+1+kU {
- panic("blas: insufficient " + string(name) + " band matrix slice length")
- }
-}
-
func checkZhbMatrix(name byte, n, k int, ab []complex128, ldab int) {
if n < 0 {
panic(nLT0)
