Metadata-Version: 2.1
Name: tongsmath
Version: 1.1.2
Summary: Tong's exclusive math library contains some junior high school math functions
Home-page: https://github.com/
Author: Tong
Author-email: 3231690635@qq.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown


tongsmath

|   setup.py

|   __init__.py

|

+---Primenumber

|       DPF.py-+

|              +DPF(n)->list or bool :Returns the prime factor (list) of n,if b is prime number return False.

|                                     e.g. DPF(48)->[2,2,2,2,3] means 48 = 2*2*2*2*3

|       DPN.py-+

|              +prime_number_list(n)->list or bool :Returns all prime numbers within n,

|              |                                    if there is no content in the prime number list return False.

|              +is_primenumber(n)->bool :Returns whether n is prime.

|

+---Simplify

        sim2ndrt.py-+

                    +sim2ndrt(n)->list or int :Returns the simplified result of sqrt(n).

                                               e.g. sim2ndrt(12)->[2,3] means sqrt(12) = 2 * sqrt(3)


