Skip to contents

state_priorities(sys) returns the state priorities of sys and its subsystems (a variable map, subsystem entries namespaced; the system's own entries win), irreducibles(sys) the variables kept as unknowns by mtkcompile(), maybe_zeros(sys) the variables that simplification may constrain to zero, and analytically_integrated(sys) the variables of a flattened system that were integrated analytically.

Usage

state_priorities(sys)

irreducibles(sys)

maybe_zeros(sys)

analytically_integrated(sys)

Arguments

sys

A System.

Value

A variable map (state_priorities) or a list of variables.

Examples

t <- t_nounits; D <- D_nounits
x <- Variable("x", t, state_priority = 10, irreducible = TRUE)
sys <- System(list(D(x) ~ -x), t, name = "s")
state_priorities(sys)
#> x(t) => 10
irreducibles(sys)
#> [[1]]
#> x(t)
#>