db.gca
For the standalone function, see mario.calc_gca().
Calculate the commodity-to-activity quadrant of the SUT Ghosh inverse.
Inputs#
gcc: commodity Ghosh quadrant.
bu: commodity-by-activity direct-output coefficients.
Result#
Commodity nodes on rows and activity nodes on columns.
Calculation details#
The subscript a denotes activities and c commodities.
A stored unified g can also supply this quadrant. The inverse
builders for gcc and gaa fall back to the Moore-Penrose
pseudoinverse when their system is singular.
Example#
import mario
db = mario.load_test("SUT", tech_assumption="IT")
result = db.resolve("gca")
# Dotted access requests the same block:
result = db.gca
Use resolve for scenario selection and recomputation options. Existing targets are reused. The other SUT equations are listed in Resolvable Matrices and Blocks.