QuadraticLifter#

class QuadraticLifter[source]#

Quadratic lifting map \(q \to (q, q^2)\).

Methods

lift

Apply the lifting map \(q \to (q, q^2)\).

lift_ddts

Get the time derivatives of the lifted variables, \(\frac{\partial}{\partial t}(q, q^2) = (q_t, 2qq_t)\).

unlift

Apply the reverse lifting map \((q, q^2) \to q\).

verify

Verify that lift() and unlift() are consistent and that lift_ddts(), if implemented, gives valid time derivatives.