remove_update_vinv

pyoptex.doe.cost_optimal.codex.formulas.remove_update_vinv(Vinv, Zs, pos, b, ratios)[source]

Computes the update to Vinv based on the removal of a row. b specifies possible additional group updates if necessary (e.g. when merging two groups).

Parameters

Vinvnp.array(3d)

The current inverses of the observation covariance matrix.

Zslist(np.array(1d) or None)

The grouping matrices of all factors.

posint

The position where to insert the new run.

blist(tuple(row_start, row_stop, group_from, group_to))

A list of operations to apply changing the groups of certain rows.

ratiosnp.array(2d)

The variance ratios of the factors in each row.

Returns

Zilist(np.array(1d) or None)

The new grouping matrices (non-ascending)

Vinvnp.array(3d)

The updated inverses observation covariance matrix.