Lorenz transformation - physics (#6097) · datevid/PythonTheAlgorithms@ec54da3 · GitHub
Skip to content

Commit ec54da3

Browse files
authored
Lorenz transformation - physics (TheAlgorithms#6097)
* Add files via upload * Changed print to f-string Also printed out results in a math notation * Add files via upload * Fixes: TheAlgorithms#4710 provided return type * File exists in another pull request * imported radians from math * Updated file according to pre-commit test * Updated file * Updated gamma * Deleted duplicate file * removed pi * reversed tests * Fixed angle condition * Modified prints to f-string * Update horizontal_projectile_motion.py * Update horizontal_projectile_motion.py * Fixes TheAlgorithms#4710 added exceptions and tests * Added float tests * Fixed type annotations * Fixed last annotation * Fixed annotations * fixed format * Revert "fixed format" This reverts commit 5b0249a. Undo changes @wq * Revert "Fixed annotations" This reverts commit c37bb95. * Revert "Fixed last annotation" This reverts commit e3678fd. * Revert "Fixed type annotations" This reverts commit 3f2b238. * Revert to 4e2fcaf * Fixing errors found during pre-commit * Added gauss law * Implemented Lorenz tranformation with four vector * pre-commit fixes * flake8 fixes * More flake8 fixes * Added blank space for flake8 * Added reference * Trailing whitespace fix * Replaced argument u with velocity (descriptive name fix) * Added tests for functions + moved velocity check to beta function * Modified condition to 'not symbolic' in the transform function * trainling whitespace fix * Added type hint for 'smybolic' argument in transform function * Changed reference to avoid pre-commit fails because of spelling issue related to the URL * Added tests for gamma and transformation_matrix functions * Fixed transformation_matrix tests * Fixed tests on beta and gamma functions
1 parent 80f1da2 commit ec54da3

2 files changed

Lines changed: 205 additions & 0 deletions

File tree

physics/__init__.py

Whitespace-only changes.
Lines changed: 205 additions & 0 deletions

0 commit comments

Comments
 (0)