Repository navigation
Pattern-adoption P2: PDE, portrait trail, discrete LQR - #194
Merged
Merged
Conversation
Add laplacian/heat helpers, phase-portrait ring+project utils, and discrete LQR for n≤8; rewire heat, Lorenz gfx, and cartpole onto them while leaving field/represent/analyze grammar as follow-ons. Co-authored-by: Cursor <[email protected]>
godofecht
force-pushed
the
feat/pattern-adoption-p2
branch
from
August 5, 2026 13:11
ba7d44f to
5171fb2
Compare
This was referenced Aug 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
#163:stdlib/dynamics/pde.flow(laplacian_1d,heat_euler_step_1d); heat demo uses it#165:stdlib/dynamics/portrait.flowtrail helpers; Lorenz gfx drops hand ring math#162:stdlib/dynamics/lqr.flowdiscrete LQR (n≤8, scalar u); cartpole Riccati is a thin wrapperGrammar follow-ons remain open:
field/boundary,represent phase_portrait, DSLanalyze { lqr }.Test plan
python3 -m flow.transpiler examples/evolution/heat_diffusion.flow --c --lenientpython3 -m flow.transpiler examples/evolution/lorenz_gfx.flow --c --lenientpython3 -m flow.transpiler apps/cartpole/main.flow --c --lenient./flow run examples/evolution/heat_diffusion.flowMade with Cursor