/usr/share/julia/base/linalg/exceptions.jl is in julia-common 0.4.7-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | # This file is a part of Julia. License is MIT: http://julialang.org/license
export LAPACKException,
ARPACKException,
SingularException,
PosDefException,
RankDeficientException
type LAPACKException <: Exception
info::BlasInt
end
type ARPACKException <: Exception
info::ByteString
end
function ARPACKException(i::Integer)
if i == -8
return ARPACKException("error return from calculation of a real Schur form.")
elseif i == -9
return ARPACKException("error return from calculation of eigenvectors.")
elseif i == -14
return ARPACKException("did not find any eigenvalues to sufficient accuracy. Try with a different starting vector or more Lanczos vectors by increasing the value of ncv.")
end
return ARPACKException("unspecified ARPACK error: $i")
end
type SingularException <: Exception
info::BlasInt
end
type PosDefException <: Exception
info::BlasInt
end
type RankDeficientException <: Exception
info::BlasInt
end
|