ExternalSystems
Represents autonomous polynomial dynamical systems used as external forcing: dr/dt = f(r). Stores the full polynomial dynamics, the linear matrix, and its eigenvalues.
MORFE.ExternalSystems.ExternalSystem — Type
ExternalSystem{N_EXT, T, EigenvalueType}Represents a dynamical system of the form:
dr/dt = f(r) = A r + higher-order termswhere r ∈ ℝ^{N_EXT} (or ℂ^{N_EXT}), A is a constant matrix, and the dynamics are given by a polynomial expansion. The structure stores the full polynomial, the linear matrix, and its eigenvalues.
Fields
first_order_dynamics::DensePolynomial{T, N_EXT}– the full polynomial dynamics (vector-valued: maps ℂ^{NEXT} → ℂ^{NEXT}).linear_matrix::SMatrix{N_EXT, N_EXT, T}– the linear part (Jacobian at the origin).eigenvalues::SVector{N_EXT, EigenvalueType}– eigenvalues of the linear matrix. IfT<:Real,EigenvalueType = Complex{T}; otherwiseEigenvalueType = T.
Constructors
ExternalSystem(first_order_dynamics)Build from a polynomial. Computes linear matrix and associated automatically.ExternalSystem(first_order_dynamics, eigenvalues)Same as above, but with precomputed eigenvalues.ExternalSystem(eigenvalues)Construct a purely linear systemdx/dt = diag(eigenvalues) * x, i.e., decoupled linear dynamics.