github.com/gopherd/gonum@v0.0.4/blas/gonum/errors.go (about) 1 // Copyright ©2015 The Gonum Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package gonum 6 7 // Panic strings used during parameter checks. 8 // This list is duplicated in netlib/blas/netlib. Keep in sync. 9 const ( 10 zeroIncX = "blas: zero x index increment" 11 zeroIncY = "blas: zero y index increment" 12 13 mLT0 = "blas: m < 0" 14 nLT0 = "blas: n < 0" 15 kLT0 = "blas: k < 0" 16 kLLT0 = "blas: kL < 0" 17 kULT0 = "blas: kU < 0" 18 19 badUplo = "blas: illegal triangle" 20 badTranspose = "blas: illegal transpose" 21 badDiag = "blas: illegal diagonal" 22 badSide = "blas: illegal side" 23 badFlag = "blas: illegal rotm flag" 24 25 badLdA = "blas: bad leading dimension of A" 26 badLdB = "blas: bad leading dimension of B" 27 badLdC = "blas: bad leading dimension of C" 28 29 shortX = "blas: insufficient length of x" 30 shortY = "blas: insufficient length of y" 31 shortAP = "blas: insufficient length of ap" 32 shortA = "blas: insufficient length of a" 33 shortB = "blas: insufficient length of b" 34 shortC = "blas: insufficient length of c" 35 )