gonum.org/v1/gonum@v0.15.1-0.20240517103525-f853624cb1bb/lapack/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 // This list is duplicated in netlib/lapack/netlib. Keep in sync. 8 const ( 9 // Panic strings for bad enumeration values. 10 badApplyOrtho = "lapack: bad ApplyOrtho" 11 badBalanceJob = "lapack: bad BalanceJob" 12 badDiag = "lapack: bad Diag" 13 badDirect = "lapack: bad Direct" 14 badEVComp = "lapack: bad EVComp" 15 badEVHowMany = "lapack: bad EVHowMany" 16 badEVJob = "lapack: bad EVJob" 17 badEVSide = "lapack: bad EVSide" 18 badGSVDJob = "lapack: bad GSVDJob" 19 badGenOrtho = "lapack: bad GenOrtho" 20 badLeftEVJob = "lapack: bad LeftEVJob" 21 badMatrixType = "lapack: bad MatrixType" 22 badMaximizeNormXJob = "lapack: bad MaximizeNormXJob" 23 badNorm = "lapack: bad Norm" 24 badOrthoComp = "lapack: bad OrthoComp" 25 badPivot = "lapack: bad Pivot" 26 badRightEVJob = "lapack: bad RightEVJob" 27 badSVDJob = "lapack: bad SVDJob" 28 badSchurComp = "lapack: bad SchurComp" 29 badSchurJob = "lapack: bad SchurJob" 30 badSide = "lapack: bad Side" 31 badSort = "lapack: bad Sort" 32 badStoreV = "lapack: bad StoreV" 33 badTrans = "lapack: bad Trans" 34 badUpdateSchurComp = "lapack: bad UpdateSchurComp" 35 badUplo = "lapack: bad Uplo" 36 bothSVDOver = "lapack: both jobU and jobVT are lapack.SVDOverwrite" 37 38 // Panic strings for bad numerical and string values. 39 badIfst = "lapack: ifst out of range" 40 badIhi = "lapack: ihi out of range" 41 badIhiz = "lapack: ihiz out of range" 42 badIlo = "lapack: ilo out of range" 43 badIloz = "lapack: iloz out of range" 44 badIlst = "lapack: ilst out of range" 45 badIsave = "lapack: bad isave value" 46 badIspec = "lapack: bad ispec value" 47 badJ1 = "lapack: j1 out of range" 48 badJpvt = "lapack: bad element of jpvt" 49 badK1 = "lapack: k1 out of range" 50 badK2 = "lapack: k2 out of range" 51 badKacc22 = "lapack: invalid value of kacc22" 52 badKbot = "lapack: kbot out of range" 53 badKtop = "lapack: ktop out of range" 54 badLWork = "lapack: insufficient declared workspace length" 55 badMm = "lapack: mm out of range" 56 badN1 = "lapack: bad value of n1" 57 badN2 = "lapack: bad value of n2" 58 badNa = "lapack: bad value of na" 59 badName = "lapack: bad name" 60 badNh = "lapack: bad value of nh" 61 badNw = "lapack: bad value of nw" 62 badPp = "lapack: bad value of pp" 63 badShifts = "lapack: bad shifts" 64 i0LT0 = "lapack: i0 < 0" 65 kGTM = "lapack: k > m" 66 kGTN = "lapack: k > n" 67 kLT0 = "lapack: k < 0" 68 kLT1 = "lapack: k < 1" 69 kdLT0 = "lapack: kd < 0" 70 klLT0 = "lapack: kl < 0" 71 kuLT0 = "lapack: ku < 0" 72 mGTN = "lapack: m > n" 73 mLT0 = "lapack: m < 0" 74 mmLT0 = "lapack: mm < 0" 75 n0LT0 = "lapack: n0 < 0" 76 nGTM = "lapack: n > m" 77 nLT0 = "lapack: n < 0" 78 nLT1 = "lapack: n < 1" 79 nLTM = "lapack: n < m" 80 nanCFrom = "lapack: cfrom is NaN" 81 nanCTo = "lapack: cto is NaN" 82 nbGTM = "lapack: nb > m" 83 nbGTN = "lapack: nb > n" 84 nbLT0 = "lapack: nb < 0" 85 nccLT0 = "lapack: ncc < 0" 86 ncvtLT0 = "lapack: ncvt < 0" 87 negANorm = "lapack: anorm < 0" 88 negZ = "lapack: negative z value" 89 nhLT0 = "lapack: nh < 0" 90 notIsolated = "lapack: block is not isolated" 91 nrhsLT0 = "lapack: nrhs < 0" 92 nruLT0 = "lapack: nru < 0" 93 nshftsLT0 = "lapack: nshfts < 0" 94 nshftsOdd = "lapack: nshfts must be even" 95 nvLT0 = "lapack: nv < 0" 96 offsetGTM = "lapack: offset > m" 97 offsetLT0 = "lapack: offset < 0" 98 pLT0 = "lapack: p < 0" 99 recurLT0 = "lapack: recur < 0" 100 zeroCFrom = "lapack: zero cfrom" 101 102 // Panic strings for bad slice lengths. 103 badLenAlpha = "lapack: bad length of alpha" 104 badLenBeta = "lapack: bad length of beta" 105 badLenIpiv = "lapack: bad length of ipiv" 106 badLenJpiv = "lapack: bad length of jpiv" 107 badLenJpvt = "lapack: bad length of jpvt" 108 badLenK = "lapack: bad length of k" 109 badLenPiv = "lapack: bad length of piv" 110 badLenSelected = "lapack: bad length of selected" 111 badLenSi = "lapack: bad length of si" 112 badLenSr = "lapack: bad length of sr" 113 badLenTau = "lapack: bad length of tau" 114 badLenWi = "lapack: bad length of wi" 115 badLenWr = "lapack: bad length of wr" 116 117 // Panic strings for insufficient slice lengths. 118 shortA = "lapack: insufficient length of a" 119 shortAB = "lapack: insufficient length of ab" 120 shortAuxv = "lapack: insufficient length of auxv" 121 shortB = "lapack: insufficient length of b" 122 shortC = "lapack: insufficient length of c" 123 shortCNorm = "lapack: insufficient length of cnorm" 124 shortD = "lapack: insufficient length of d" 125 shortDL = "lapack: insufficient length of dl" 126 shortDU = "lapack: insufficient length of du" 127 shortE = "lapack: insufficient length of e" 128 shortF = "lapack: insufficient length of f" 129 shortH = "lapack: insufficient length of h" 130 shortIWork = "lapack: insufficient length of iwork" 131 shortIsgn = "lapack: insufficient length of isgn" 132 shortQ = "lapack: insufficient length of q" 133 shortRHS = "lapack: insufficient length of rhs" 134 shortS = "lapack: insufficient length of s" 135 shortScale = "lapack: insufficient length of scale" 136 shortT = "lapack: insufficient length of t" 137 shortTau = "lapack: insufficient length of tau" 138 shortTauP = "lapack: insufficient length of tauP" 139 shortTauQ = "lapack: insufficient length of tauQ" 140 shortU = "lapack: insufficient length of u" 141 shortV = "lapack: insufficient length of v" 142 shortVL = "lapack: insufficient length of vl" 143 shortVR = "lapack: insufficient length of vr" 144 shortVT = "lapack: insufficient length of vt" 145 shortVn1 = "lapack: insufficient length of vn1" 146 shortVn2 = "lapack: insufficient length of vn2" 147 shortW = "lapack: insufficient length of w" 148 shortWH = "lapack: insufficient length of wh" 149 shortWV = "lapack: insufficient length of wv" 150 shortWi = "lapack: insufficient length of wi" 151 shortWork = "lapack: insufficient length of work" 152 shortWr = "lapack: insufficient length of wr" 153 shortX = "lapack: insufficient length of x" 154 shortY = "lapack: insufficient length of y" 155 shortZ = "lapack: insufficient length of z" 156 157 // Panic strings for bad leading dimensions of matrices. 158 badLdA = "lapack: bad leading dimension of A" 159 badLdB = "lapack: bad leading dimension of B" 160 badLdC = "lapack: bad leading dimension of C" 161 badLdF = "lapack: bad leading dimension of F" 162 badLdH = "lapack: bad leading dimension of H" 163 badLdQ = "lapack: bad leading dimension of Q" 164 badLdT = "lapack: bad leading dimension of T" 165 badLdU = "lapack: bad leading dimension of U" 166 badLdV = "lapack: bad leading dimension of V" 167 badLdVL = "lapack: bad leading dimension of VL" 168 badLdVR = "lapack: bad leading dimension of VR" 169 badLdVT = "lapack: bad leading dimension of VT" 170 badLdW = "lapack: bad leading dimension of W" 171 badLdWH = "lapack: bad leading dimension of WH" 172 badLdWV = "lapack: bad leading dimension of WV" 173 badLdWork = "lapack: bad leading dimension of Work" 174 badLdX = "lapack: bad leading dimension of X" 175 badLdY = "lapack: bad leading dimension of Y" 176 badLdZ = "lapack: bad leading dimension of Z" 177 178 // Panic strings for bad vector increments. 179 absIncNotOne = "lapack: increment not one or negative one" 180 badIncX = "lapack: incX <= 0" 181 badIncY = "lapack: incY <= 0" 182 zeroIncV = "lapack: incv == 0" 183 )