autopdex.dae.invert_butcher_with_order

autopdex.dae.invert_butcher_with_order(A)[source]

Computes the blockwise linear mapping matrix A_ that maps U to U_dot without inter-block coupling, and determines the execution order of the blocks.

Parameters:

A (ndarray) – Butcher matrix of stage coefficients (s x s).

Returns:

Matrix mapping U to U_dot (s x s). execution_order (list): A list specifying the order of operations (blocks or explicit stage indices).

Return type:

A_ (ndarray)