This commit is contained in:
2026-02-09 21:28:10 +01:00
parent ee895f95a9
commit 0ac49902af
11 changed files with 29903 additions and 29329 deletions

View File

@@ -1,6 +1,6 @@
import numpy as np
def atpv_probe(A, P, v, tol=1e-7):
def atpv_probe(A: np.ndarray, P: np.ndarray, v: np.ndarray, tol: float = 1e-7) -> None:
"""
Führt die ATPv-Probe zur Kontrolle der Lösung des Normalgleichungssystems durch.
@@ -8,11 +8,11 @@ def atpv_probe(A, P, v, tol=1e-7):
Die Prüfung erfolgt unter Verwendung einer vorgegebenen Toleranz.
:param A: Jacobi-Matrix (A-Matrix).
:type A: np.asarray
:type A: np.ndarray
:param P: Gewichtsmatrix der Beobachtungen.
:type P: np.asarray
:type P: np.ndarray
:param v: Residuenvektor der Beobachtungen.
:type v: np.asarray
:type v: np.ndarray
:param tol: Absolute Toleranz für den Vergleich mit Null.
:type tol: float
:return: None
@@ -30,7 +30,7 @@ def atpv_probe(A, P, v, tol=1e-7):
print("❌ ATPv-Probe nicht erfolgreich. Fehler bei der Lösung des Normalgleichungssystems")
def hauptprobe(A, x, l, v, tol=1e-7):
def hauptprobe(A: np.ndarray, x: np.ndarray, l: np.ndarray, v: np.ndarray, tol: float = 1e-7) -> None:
"""
Führt die Hauptprobe zur Überprüfung der berechneten Residuen durch.
@@ -40,13 +40,13 @@ def hauptprobe(A, x, l, v, tol=1e-7):
innerhalb der Toleranz überein, gilt die Ausgleichung als konsistent.
:param A: Jacobi-Matrix (A-Matrix).
:type A: np.asarray
:type A: np.ndarray
:param x: Lösungsvektor der Unbekannten.
:type x: np.asarray
:type x: np.ndarray
:param l: Beobachtungsvektor.
:type l: np.asarray
:type l: np.ndarray
:param v: Residuenvektor aus der Ausgleichung.
:type v: np.asarray
:type v: np.ndarray
:param tol: Absolute Toleranz für den Vergleich der Residuen.
:type tol: float
:return: None