Tabulate integriert und Requirements ergänzt
This commit is contained in:
1 parent
1415833496
commit
dade4222fc
1 file changed
-5
@@ -146,11 +146,6 @@ def rot_2D(theta: float) -> List[List[float]]:
|
||||
[c, -s],
|
||||
[s, c]
|
||||
]
|
||||
def rot_2D(theta: float) -> List[List[float]]:
|
||||
"""Erzeugt eine 2D-Rotationsmatrix für einen Winkel theta (im Bogenmaß)."""
|
||||
c = math.cos(theta)
|
||||
s = math.sin(theta)
|
||||
return [[c, -s], [s, c]]
|
||||
|
||||
if __name__ == "__main__":
|
||||
# Testdaten für die Demonstration
|
||||
|
||||
Reference in new issue
Block a user