feat: Gauss Verfahren started

This commit is contained in:
Sandro Zimmermann 2026-04-10 13:27:13 +02:00
parent 3484742925
commit 493eb3d03c
2 changed files with 33 additions and 0 deletions

12
src/gauss/gauss_7_3.py Normal file
View File

@ -0,0 +1,12 @@
# %%
import numpy as np
R = 1.0 * np.array(
[
[2, 3, 1],
[1, -2, -1],
[4, 1, -3],
]
)
L = 1.0 * np.array([8, 3, 6])

21
src/gauss/toleranz.py Normal file
View File

@ -0,0 +1,21 @@
#%%
# Python initialisieren
import numpy as np
# Parameter
G=1.*np.array([
[2,3,1,8],
[1,-2,-1,-3],
[4,1,-3,6]])
# Berechnung
m = np.max(G.shape)
n = np.linalg.norm(G)
e = np.finfo(np.float64).eps
tol = m * n * e
print(m)
print(n)
print(e)
print(tol)
# %%