pydae.core.builder.symbolic¶
Functions
|
Assembles the large global Jacobians (ini and trap) and extracts nonzero elements into lists for C code generation. |
|
Computes the fundamental sub-Jacobians (Fx, Fy, Gx, Gy, etc.). |
|
Computes the symbolic Jacobian of vector 'f' with respect to vector 'x'. |
- pydae.core.builder.symbolic.build_large_jacobians(builder_obj)[source]¶
Assembles the large global Jacobians (ini and trap) and extracts nonzero elements into lists for C code generation.
Each Jacobian gets its OWN independent sparsity pattern (Ap, Ai). This avoids the bug where y_ini_list != y_run_list causes entries to land in wrong positions when a single shared pattern is used.