Aviv Faraj ec54da34b9
Lorenz transformation - physics (#6097)
* Add files via upload

* Changed print to f-string

Also printed out results in a math notation

* Add files via upload

* Fixes: #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 #4710 added exceptions and tests

* Added float tests

* Fixed type annotations

* Fixed last annotation

* Fixed annotations

* fixed format

* Revert "fixed format"

This reverts commit 5b0249ac0a0f9c36c3cfbab8423eb72925a73ffb.

Undo changes
@wq

* Revert "Fixed annotations"

This reverts commit c37bb9540834cb77e37822eb376a5896cda34778.

* Revert "Fixed last annotation"

This reverts commit e3678fdeadd23f1bfca27015ab524efa184f6c79.

* Revert "Fixed type annotations"

This reverts commit 3f2b238c34cd926b335d1f6f750e009f08e8f270.

* Revert to 4e2fcaf6fb

* 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
2022-05-16 22:26:19 +08:00
2021-11-04 18:49:36 +08:00
2021-11-11 21:39:54 +08:00
2022-05-16 19:28:30 +08:00
2021-11-24 15:23:44 +01:00
2021-11-05 06:06:37 +01:00
2021-06-08 22:49:33 +02:00
2019-11-17 19:37:58 +01:00
2022-03-16 23:40:48 +08:00
2021-09-29 23:34:35 +05:30

The Algorithms - Python

Gitpod Ready-to-Code Contributions Welcome Donate Discord chat Gitter chat
GitHub Workflow Status LGTM pre-commit code style: black

All algorithms implemented in Python - for education

Implementations are for learning purposes only. As they may be less efficient than the implementations in the Python standard library, use them at your discretion.

Getting Started

Read through our Contribution Guidelines before you contribute.

Community Channels

We're on Discord and Gitter! Community channels are great for you to ask questions and get help. Please join us!

List of Algorithms

See our directory for easier navigation and better overview of the project.

Languages
Python 99.9%
Shell 0.1%