Match a left-hand side (LHS) vector to a Leontief inverse by column names
and compute the matrix product \(\text{LHS} \times \text{Im}\).
Usage
equation_solve(LHS = NULL, Im = NULL)
Value
A numeric 1×N matrix containing the solution
\(\text{LHS} \times \text{Im}\).
Arguments
LHS
A one-row data frame (or matrix) with a key column first and
numeric columns named to match the Leontief inverse.
Im
A Leontief inverse with a key column first and a square numeric
block whose column names match the LHS numeric names.
Details
This helper is used by higher-level wrappers such as
multiplier_create(). It assumes both inputs have a first key column,
followed by numeric columns whose names define the alignment. The function
multiplies the numeric row of LHS by the numeric block of Im after a
basic conformity check.