Repository navigation
jet: give the series of a branch the session through jet_orders - #43
Conversation
multisolver 0.1.1 gives ResidualJet::jet_orders, through which the series of a branch takes the residual's orders one at a time, and multidouble 4.7.0 the order-k jet operations that equations need to form one order from the kept ones.
Equations gains ORDER_BY_ORDER, set by equations whose order-k methods form one order from the kept ones. The layout's jet_orders then returns its JetSession on jets of 8, 16 or 32 coefficients, so that multisolver's anm::series pays about one order per call, and otherwise multisolver's Recompute as before.
The crate documentation still called it unpublished at 0.1.0, though it is on crates.io.
|
Warning Review limit reachedYour organization has reached its usage spending cap. Adjust your spending cap in the billing tab. Next included review available in 54 seconds. View limit details
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #43 +/- ##
==========================================
+ Coverage 97.15% 97.78% +0.62%
==========================================
Files 12 12
Lines 2283 2298 +15
==========================================
+ Hits 2218 2247 +29
+ Misses 65 51 -14 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
@coderabbitai review |
Action not completed
|
multisolver 0.1.1 lets a problem hand the series of a branch its residual orders one at a time, through
ResidualJet::jet_orders. This PR has the layout hand over itsJetSessionthere, and moves to multidouble 4.7.0, which has the order-k jet operations (cs_at,mul_at,div_at, ...) that equations need to form one order from the orders kept.EquationsgainsORDER_BY_ORDER, false by default. Equations set it when theirtaylor_coeffs_at,left_state_atandright_state_atform one order from the kept ones. The layout'sjet_ordersthen returns aJetSessionon jets of 8, 16 or 32 coefficients, the smallest that holds the series' orders, somultisolver::anm::seriespays about one order per call. Without the flag it returns multisolver'sRecomputeas before, because a session over the default methods would recompute every order at the full jet length and cost more thanresidual_jet.The new test
anm_series_through_the_session_is_bitwiserunsCylinder's branch of order 10 two ways, through a wrapper that sets the flag and through the plain equations. The two series match bit for bit at every order, with and without threads. The controlanm_series_control_stale_session_differsleaves order k as it was with z_k zero (Control::JetStale), and 873 coefficients then differ. All 197 tests pass with--features mutate.The PR also drops the crate documentation's stale "under construction (0.1.0, not published)" line.