Documentation Index
Fetch the complete documentation index at: https://mintlify.com/SforAiDl/lrnnx/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Discretization functions convert continuous-time state space models to discrete-time representations. These functions are essential for implementing recurrent neural networks based on continuous-time dynamical systems.DISCRETIZE_FNS
LRNN base class to select the appropriate discretization method.
Available methods:
"zoh"→zoh- Zero-Order Hold"bilinear"→bilinear- Bilinear transform"dirac"→dirac- Dirac discretization"async"→async_- Asynchronous discretization"no_discretization"→no_discretization- Identity operation
Discretization Functions
zoh
The continuous-time state matrix.
The discretization step size.
Not used in ZOH discretization. Defaults to
None.The discretized system matrix.
The input normalizer.
bilinear
Continuous-time system matrix, shape
(N,). Only diagonal elements are used.Time step for discretization.
Not used in bilinear discretization. Defaults to
None.The discretized system matrix.
The input normalizer.
dirac
Continuous-time system matrix.
Time step for discretization.
Not used in dirac discretization. Defaults to
None.The discretized system matrix.
The input normalizer, fixed at
1.0.async_
Continuous-time system matrix.
Time step for discretization.
Timesteps for async discretization, ideally of shape
(B, L), representing the difference in timesteps between events.The discretized system matrix.
The input normalizer.
no_discretization
Continuous-time system matrix (returned unchanged).
Time step for discretization (unused).
Not used in no_discretization. Defaults to
None.Same as input
A.Fixed at
1.0, as B_bar = B.