Adds all of the trigonometric functions using degrees instead of radians.
Project description
DegTrig
A PyPi module providing all of the trigonometric functions that deal in degrees. No more math and numpy radians confusion!
How does it work?
Use import DegTrig to get access to the convert functions:
from degtrig import *
and then use the functions:
sin(30)
cosh(1)
asin(1/2)
atanh(0.1)
cot(60)
asec(0.9)
Why DegTrig
math
provides trigonometric functions however the normal functions use radians while the hyperbolic functions use degrees. It's all a little too much to remember! DegTrig provides the answer to this problem by unifying the functions so that they all use degrees (the better unit of rotation).
Installation
On bash:
$ pip install DegTrig
On windows:
python -m pip install DegTrig
Usage
Contributing
- Fork it ( https://github.com/ )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Make sure that the script does not have errors or warnings
- Create a new Pull Request
License
This tool is open source under the MIT License terms.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file degtrig-0.0.3.tar.gz
.
File metadata
- Download URL: degtrig-0.0.3.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18080e7b8b4cb31e11b8817aea57cd0dde50f5e2cbd2f2cc83782c591dacf7d0 |
|
MD5 | caf7a9f163eef8fcaa889b12ae14889c |
|
BLAKE2b-256 | ece279d94fc7a8bcdb8ebd62a17ee0edc37caa298ac5297d26e970f481fee3e0 |