Smaths stands for SquareMATH. Algorithm written exclusively in Python and used to simplify square roots
Project description
# Square Root Simplification algorithm
Smaths stands for SquareMATH. Algorithm written exclusively in Python and used to simplify square roots
# How To Use
Firstly, import the spl function from the file (from smath import spl). Then, call the spl() function and parse in a string argument; for example if you want the square root of 125, you would parse in “!125”; note this is using the ! instead of the √ (that char is not on the keyboard). If you want the simplification of 5√125, you would parse “5!125”.
Also note the function returns a string value.
Change Log
0.0.5 (10/31/2020)
-Repaired the √root returning root instead of √root if simplification is not possible
Project details
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 smaths-0.0.5.tar.gz
.
File metadata
- Download URL: smaths-0.0.5.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2ef49d74f2c34948f3bfc62cbffe190377a97af7299365f815714aa33e585d1 |
|
MD5 | f6c5a147ff3341cff673145953948e5f |
|
BLAKE2b-256 | 1f75e61d8b18b3bde623ee6f7a3914f93e1a4d54ebfcb097943b2da19245c2be |