-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patherrors.go
More file actions
43 lines (35 loc) · 2.65 KB
/
errors.go
File metadata and controls
43 lines (35 loc) · 2.65 KB
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
39
40
41
42
43
package controlsys
import "errors"
var (
ErrDimensionMismatch = errors.New("controlsys: dimension mismatch")
ErrSingularTransform = errors.New("controlsys: singular matrix in transformation")
ErrWrongDomain = errors.New("controlsys: wrong time domain for operation")
ErrInvalidSampleTime = errors.New("controlsys: sample time must be positive")
ErrSingularDenom = errors.New("controlsys: zero or near-zero leading denominator")
ErrOverflow = errors.New("controlsys: coefficient overflow")
ErrNegativeDelay = errors.New("controlsys: delay must be non-negative")
ErrFractionalDelay = errors.New("controlsys: discrete delay must be non-negative integer")
ErrNonUniformInputDelay = errors.New("controlsys: AbsorbDelay requires uniform delay per input column")
ErrZeroInternalDelay = errors.New("controlsys: internal delay must be positive (tau=0 creates algebraic loop)")
ErrAlgebraicLoop = errors.New("controlsys: algebraic loop: (I-D22) singular")
ErrDomainMismatch = errors.New("controlsys: systems must share the same time domain")
ErrFeedbackDelay = errors.New("controlsys: feedback with delays not supported")
ErrMixedDelayTypes = errors.New("controlsys: InternalDelay and IODelay cannot coexist")
ErrNotSymmetric = errors.New("controlsys: matrix must be symmetric")
ErrSchurFailed = errors.New("controlsys: Schur decomposition failed to converge")
ErrSingularEquation = errors.New("controlsys: matrix equation is singular or nearly singular")
ErrNoStabilizing = errors.New("controlsys: no stabilizing solution exists")
ErrSingularR = errors.New("controlsys: R matrix is singular or not positive definite")
ErrUnstableGramian = errors.New("controlsys: gramian undefined for unstable system")
ErrUnstable = errors.New("controlsys: system is unstable")
ErrNotMinimal = errors.New("controlsys: gramian not positive definite; system may not be minimal")
ErrInvalidOrder = errors.New("controlsys: reduction order out of range")
ErrSingularA22 = errors.New("controlsys: A22 block singular; singular perturbation not applicable")
ErrNotSISO = errors.New("controlsys: system must be single-input")
ErrConjugatePairs = errors.New("controlsys: complex poles must appear in conjugate pairs")
ErrPoleCount = errors.New("controlsys: number of poles must equal state dimension")
ErrUncontrollable = errors.New("controlsys: uncontrollable mode cannot be assigned")
ErrInsufficientData = errors.New("controlsys: insufficient data for estimation")
ErrInvalidExpression = errors.New("controlsys: invalid sumblk expression")
ErrSignalNotFound = errors.New("controlsys: signal name not found")
)