Pythonfiles

This commit is contained in:
2025-12-18 15:33:40 +01:00
parent c38d8b3572
commit 44f31b8fb0
9 changed files with 1760 additions and 7 deletions

14
Datumsfestlegung.py Normal file
View File

@@ -0,0 +1,14 @@
import sympy as sp
def auswahlmatrix_E(u: int, aktive_unbekannte_indices: Iterable[int]) -> sp.Matrix:
E = sp.zeros(u, u)
for idx in aktive_unbekannte_indices:
E[int(idx), int(idx)] = 1
return E
def raenderungsmatric_G():
def teilspurminimierung_Gi(G: sp.Matrix, E: sp.Matrix) -> sp.Matrix:
Gi = E * G
return Gi