Skip to main content

Module algebra

Module algebra 

Source
Available on crate feature raster only.
Expand description

Transformation algebra (topology-deck.html:181-193): s = v·e, r, T, Φ. Pure, RNG-free, fully portable — no mulberry32 needed here. Task 5.

Structs§

Economy
The transformation-algebra outputs for a set of industries.
Industry
One row of the deck’s 13-industry table.

Functions§

deck_industries
The deck’s 13-industry fixture table (topology-deck.html, scout-verified c/v/e/lane; Task 5).
transform
s_i = v_i·e_i; S = Σs_i; CV = Σ(c_i+v_i); r = S/CV; T_i = r·(c_i+v_i) − s_i; rent_imperial = −Σ_{lane=0}T_i; rent_internal = −Σ_{lane=1}T_i; Φ = Σ_{T_i>0}T_i. Iterates inds in slice order (deterministic).