PyPyNum 1.6.0__py3-none-any.whl → 1.8.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: PyPyNum
3
- Version: 1.6.0
3
+ Version: 1.8.0
4
4
  Summary: A multifunctional mathematical calculation package written in pure Python programming language [Python>=3.5]
5
5
  Home-page: https://www.gitee.com/PythonSJL/PyPyNum
6
6
  Author: Shen Jiayi
@@ -668,13 +668,14 @@ License:
668
668
  For more information on this, and how to apply and follow the GNU AGPL, see
669
669
  <http://www.gnu.org/licenses/>.
670
670
 
671
+ Keywords: math,数学,mathematics,数学计算,numerical,数值,computation,计算,scientific,科学,algebra,代数,calculus,微积分,statistics,统计,linear-algebra,线性代数,optimization,优化,numerical-analysis,数值分析,matrix,矩阵,vector,向量,tensor,张量,numerics,数值计算,library,库,tools,工具,utils,实用程序,algorithms,算法,software,软件,package,包,methods,方法,data-science,数据科学,machine-learning,机器学习,computational,计算的,operations,操作,functions,函数,processing,处理,programming,编程,simulation,仿真,visualization,可视化,physics,物理
671
672
  Requires-Python: >=3.5
672
673
  Description-Content-Type: text/markdown
673
674
 
674
675
  # <font color = blue>PyPyNum</font>
675
676
 
676
- <font color = gree>A Python math package written in pure Python programming language</font><font color = red>
677
- (python_requires >= 3.5)</font>
677
+ <font color = gree>A multifunctional mathematical calculation package written in pure Python programming language
678
+ </font><font color = red>[Python>=3.5]</font>
678
679
 
679
680
  ```
680
681
  ________ ___ ___ ________ ___ ___ ________ ___ ___ _____ ______
@@ -687,7 +688,11 @@ Description-Content-Type: text/markdown
687
688
  \|___|/ \|___|/
688
689
  ```
689
690
 
690
- ## Version -> 1.6.0 | PyPI -> https://pypi.org/project/PyPyNum/ | Gitee -> https://www.gitee.com/PythonSJL/PyPyNum
691
+ [![Downloads](https://static.pepy.tech/badge/pypynum)](https://pepy.tech/project/pypynum)
692
+ [![Downloads](https://static.pepy.tech/badge/pypynum/month)](https://pepy.tech/project/pypynum)
693
+ [![Downloads](https://static.pepy.tech/badge/pypynum/week)](https://pepy.tech/project/pypynum)
694
+
695
+ ## Version -> 1.8.0 | PyPI -> https://pypi.org/project/PyPyNum/ | Gitee -> https://www.gitee.com/PythonSJL/PyPyNum
691
696
 
692
697
  ![LOGO](PyPyNum.png)
693
698
 
@@ -734,38 +739,92 @@ Python interpreter and run it!)
734
739
  #### New features compared to the previous version
735
740
 
736
741
  ```
737
- chars [Special mathematical symbols]
738
- DATA
739
- arrow = [["↖", "↑", "↗"], ["←", "⇌", "→"], ["↙", "↓", "↘"], ["↔", "⇋",...
740
- div = "÷"
741
- mul = "×"
742
- others = "¬°‰‱′″∀∂∃∅∆∇∈∉∏∐∑∝∞∟∠∣∥∧∨∩∪∫∬∭∮∯∰∴∵∷∽≈≌≒≠≡≢≤≥≪≫≮≯≰≱≲≳⊕⊙⊥⊿⌒㏑㏒...
743
- overline = "̄"
744
- pi = "Ππ𝜫𝝅𝝥𝝿𝞟𝞹Пп∏ϖ∐ℼㄇ兀"
745
- sgn = "±"
746
- strikethrough = "̶"
747
- subscript = "₀₁₂₃₄₅₆₇₈₉₊₋₌₍₎ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓ"
748
- superscript = "⁰¹²³⁴⁵⁶⁷⁸⁹⁺⁻⁼⁽⁾ᴬᴮᴰᴱᴳᴴᴵᴶᴷᴸᴹᴺᴼᴾᴿᵀᵁⱽᵂᵃᵇᶜᵈᵉᶠᵍʰⁱʲᵏˡᵐⁿᵒᵖʳˢᵗᵘᵛ...
749
- tab = [["┌", "┬", "┐"], ["├", "┼", "┤"], ["└", "┴", "┘"], ["─", "╭", "...
750
- underline = "_"
751
-
752
- maths [Mathematical functions]
753
- ...
754
- raw_moment(data: Union[list, tuple], order: int) -> float
755
- central_moment(data: Union[list, tuple], order: int) -> float
756
- skew(data: Union[list, tuple]) -> float
757
- kurt(data: Union[list, tuple]) -> float
758
- ...
759
-
760
- numbers [Conversion of various numbers]
761
- FUNCTIONS
762
- float2fraction(number: float, mixed: bool = False, error: float = 1e-15) -> tuple
763
- int2roman(integer: int, overline: bool = True) -> str
764
- roman2int(roman_num: str) -> int
765
- str2int(string: str) -> int
766
- DATA
767
- roman_symbols = ["M", "CM", "D", "CD", "C", "XC", "L", "XL", "X", "IX", "V", "IV", "I"]
768
- roman_values = [1000, 900, 500, 400, 100, 90, 50, 40, 10, 9, 5, 4, 1]
742
+ !=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=
743
+
744
+ 新增代码行数为603行
745
+
746
+ Add 603 new lines of code
747
+
748
+ !=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=
749
+
750
+ 新增函数“magic_square”的功能简介:可
751
+ 以生成任意大于等于三的整数阶幻方。
752
+
753
+ Introduction to the newly added
754
+ function "magic square": It can
755
+ generate any integer order magic
756
+ square greater than or equal to
757
+ three.
758
+
759
+ !=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=
760
+
761
+ 新增模块“Graph”的功能简介:具有有向图
762
+ 、无向图、带权有向图、带权无向图这四个对
763
+ 象,支持添加或删除顶点和边,以及深度优先
764
+ 搜索与广度优先搜索这两种图的遍历方式,还
765
+ 有计算最短路径等功能。
766
+
767
+ Introduction to the functions of
768
+ the newly added module "Graph":
769
+ it has four objects: directed
770
+ graph, undirected graph,
771
+ weighted directed graph, and
772
+ weighted undirected graph. It
773
+ supports adding or removing
774
+ vertices and edges, as well as
775
+ depth first search and breadth
776
+ first search for graph
777
+ traversal. It also has functions
778
+ such as calculating the shortest
779
+ path.
780
+
781
+ !=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=
782
+
783
+ 新增模块“polynomial”的功能简介:有一
784
+ 个多项式对象,可以通过传入包含“(次数,
785
+ 系数)”的二元组组成的序列创建多项式对象
786
+ ,可以随时设置某一项的数值,并且支持多
787
+ 项式形式的四则运算,还有取商式、取余式
788
+ 、求幂、求模幂的功能。
789
+
790
+ Introduction to the newly added
791
+ module "polynomial": There is a
792
+ polynomial object that can be
793
+ created by passing in a sequence
794
+ of binary tuples containing
795
+ "degree, coefficient". The value
796
+ of a certain term can be set at
797
+ any time, and it supports
798
+ polynomial form arithmetic
799
+ operations. It also has
800
+ functions such as quotient,
801
+ remainder, exponentiation, and
802
+ modular exponentiation.
803
+
804
+ !=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=
805
+
806
+ <<<以下结构中的省略号表示原有的部分>>>
807
+
808
+ <<<The ellipsis in the following structure represents the original part>>>
809
+
810
+ PyPyNum
811
+ ★ Graph [Graph theory]
812
+ CLASSES
813
+ BaseGraph
814
+ BaseWeGraph
815
+ WeDiGraph
816
+ WeUnGraph
817
+ DiGraph
818
+ UnGraph
819
+ ★ polynomial [Polynomial object]
820
+ CLASSES
821
+ Polynomial
822
+ FUNCTIONS
823
+ poly(terms=None)
824
+ ★ tools [Other useful tools]
825
+ FUNCTIONS
826
+ ...
827
+ magic_square(n)
769
828
  ```
770
829
 
771
830
  ### 运行用时测试
@@ -835,6 +894,14 @@ PyPyNum
835
894
  Triangle
836
895
  FUNCTIONS
837
896
  distance(g1, g2, error: int | float = 0) -> float
897
+ ★ Graph [Graph theory]
898
+ CLASSES
899
+ BaseGraph
900
+ BaseWeGraph
901
+ WeDiGraph
902
+ WeUnGraph
903
+ DiGraph
904
+ UnGraph
838
905
  ★ Group [Group theory]
839
906
  CLASSES
840
907
  Group
@@ -913,6 +980,10 @@ PyPyNum
913
980
  tolist(_nested_list)
914
981
  zeros(_dimensions)
915
982
  zeros_like(_nested_list)
983
+ ★ Tree [Various trees]
984
+ CLASSES
985
+ MultiTree
986
+ MultiTreeNode
916
987
  ★ Vector [Vector calculation]
917
988
  CLASSES
918
989
  Vector
@@ -986,73 +1057,79 @@ PyPyNum
986
1057
  polynomial_equation(coefficients: list) -> list
987
1058
  ★ maths [Mathematical functions]
988
1059
  FUNCTIONS
989
- A = arrangement(n: int, r: int) -> int
990
- C = combination(n: int, r: int) -> int
991
- acos(x: Union[int, float]) -> Union[int, float]
992
- acosh(x: Union[int, float]) -> Union[int, float]
993
- acot(x: Union[int, float]) -> Union[int, float]
994
- acoth(x: Union[int, float]) -> Union[int, float]
995
- acsc(x: Union[int, float]) -> Union[int, float]
996
- acsch(x: Union[int, float]) -> Union[int, float]
997
- arrangement(n: int, r: int) -> int
998
- asec(x: Union[int, float]) -> Union[int, float]
999
- asech(x: Union[int, float]) -> Union[int, float]
1000
- asin(x: Union[int, float]) -> Union[int, float]
1001
- asinh(x: Union[int, float]) -> Union[int, float]
1002
- atan(x: Union[int, float]) -> Union[int, float]
1003
- atanh(x: Union[int, float]) -> Union[int, float]
1004
- beta(p: Union[int, float], q: Union[int, float]) -> Union[int, float]
1005
- central_moment(data: Union[list, tuple], order: int) -> float
1006
- coeff_det(x: Union[list, tuple], y: Union[list, tuple]) -> Union[int, float, complex]
1007
- combination(n: int, r: int) -> int
1008
- corr_coeff(x: Union[list, tuple], y: Union[list, tuple]) -> Union[int, float, complex]
1009
- cos(x: Union[int, float]) -> Union[int, float]
1010
- cosh(x: Union[int, float]) -> Union[int, float]
1011
- cot(x: Union[int, float]) -> Union[int, float]
1012
- coth(x: Union[int, float]) -> Union[int, float]
1013
- cov(x: Union[list, tuple], y: Union[list, tuple]) -> Union[int, float, complex]
1014
- csc(x: Union[int, float]) -> Union[int, float]
1015
- csch(x: Union[int, float]) -> Union[int, float]
1016
- cumprod(lst: Union[list, tuple]) -> list
1017
- cumsum(lst: Union[list, tuple]) -> list
1018
- definite_integral(f, x_start: Union[int, float], x_end: Union[int, float], n: int = 10000000) -> float
1019
- derivative(f, x: Union[int, float], h: Union[int, float] = 1e-07) -> float
1020
- erf(x: Union[int, float]) -> float
1021
- exp(x: Union[int, float]) -> Union[int, float]
1022
- factorial(n: int) -> int
1023
- freq(data: Union[list, tuple]) -> dict
1024
- gamma(alpha: Union[int, float]) -> float
1025
- gaussian(x: Union[int, float], _mu: Union[int, float] = 0, _sigma: Union[int, float] = 1) -> float
1060
+ root(x: num, y: num) -> num
1061
+ exp(x: real) -> real
1062
+ ln(x: real) -> real
1026
1063
  gcd(*args: int) -> int
1027
- geom_mean(numbers: Union[list, tuple]) -> Union[int, float, complex]
1028
- harm_mean(numbers: Union[list, tuple]) -> Union[int, float, complex]
1029
- iroot(y: int, n: int) -> int
1030
- kurt(data: Union[list, tuple]) -> float
1031
1064
  lcm(*args: int) -> int
1032
- ln(x: Union[int, float]) -> Union[int, float]
1033
- mean(numbers: Union[list, tuple]) -> Union[int, float, complex]
1034
- median(numbers: Union[list, tuple]) -> Union[int, float, complex]
1065
+ sin(x: real) -> real
1066
+ cos(x: real) -> real
1067
+ tan(x: real) -> real
1068
+ csc(x: real) -> real
1069
+ sec(x: real) -> real
1070
+ cot(x: real) -> real
1071
+ asin(x: real) -> real
1072
+ acos(x: real) -> real
1073
+ atan(x: real) -> real
1074
+ acsc(x: real) -> real
1075
+ asec(x: real) -> real
1076
+ acot(x: real) -> real
1077
+ sinh(x: real) -> real
1078
+ cosh(x: real) -> real
1079
+ tanh(x: real) -> real
1080
+ csch(x: real) -> real
1081
+ sech(x: real) -> real
1082
+ coth(x: real) -> real
1083
+ asinh(x: real) -> real
1084
+ acosh(x: real) -> real
1085
+ atanh(x: real) -> real
1086
+ acsch(x: real) -> real
1087
+ asech(x: real) -> real
1088
+ acoth(x: real) -> real
1089
+ ptp(numbers: arr) -> num
1090
+ median(numbers: arr) -> num
1091
+ freq(data: arr) -> dict
1092
+ mode(data: arr)
1093
+ mean(numbers: arr) -> num
1094
+ geom_mean(numbers: arr) -> num
1095
+ square_mean(numbers: arr) -> num
1096
+ harm_mean(numbers: arr) -> num
1097
+ raw_moment(data: arr, order: int) -> float
1098
+ central_moment(data: arr, order: int) -> float
1099
+ var(numbers: arr, ddof: int = 0) -> num
1100
+ skew(data: arr) -> float
1101
+ kurt(data: arr) -> float
1102
+ std(numbers: arr, ddof: int = 0) -> num
1103
+ cov(x: arr, y: arr, ddof: int = 0) -> num
1104
+ corr_coeff(x: arr, y: arr) -> num
1105
+ coeff_det(x: arr, y: arr) -> num
1106
+ product(numbers: arr) -> num
1107
+ sigma(i: int, n: int, f) -> num
1108
+ pi(i: int, n: int, f) -> num
1109
+ derivative(f, x: real, h: real = 1e-7) -> float
1110
+ definite_integral(f, x_start: real, x_end: real, n: int = 10000000) -> float
1111
+ beta(p: real, q: real) -> real
1112
+ gamma(alpha: real) -> float
1113
+ factorial(n: int) -> int
1114
+ arrangement(n: int, r: int) -> int
1115
+ combination(n: int, r: int) -> int
1116
+ zeta(alpha: real) -> float
1117
+ gaussian(x: real, _mu: real = 0, _sigma: real = 1) -> float
1118
+ poisson(x: int, _lambda: real) -> float
1119
+ erf(x: real) -> float
1120
+ sigmoid(x: real) -> float
1121
+ sign(x: real) -> int
1035
1122
  parity(x: int) -> int
1036
- pi(i: int, n: int, f) -> Union[int, float, complex]
1037
- poisson(x: int, _lambda: Union[int, float]) -> float
1038
- product(numbers: Union[list, tuple]) -> Union[int, float, complex]
1039
- ptp(numbers: Union[list, tuple]) -> Union[int, float, complex]
1040
- raw_moment(data: Union[list, tuple], order: int) -> float
1041
- root(x: Union[int, float, complex], y: Union[int, float, complex]) -> Union[int, float, complex]
1042
- sec(x: Union[int, float]) -> Union[int, float]
1043
- sech(x: Union[int, float]) -> Union[int, float]
1044
- sigma(i: int, n: int, f) -> Union[int, float, complex]
1045
- sigmoid(x: Union[int, float]) -> float
1046
- sign(x: Union[int, float]) -> int
1047
- sin(x: Union[int, float]) -> Union[int, float]
1048
- sinh(x: Union[int, float]) -> Union[int, float]
1049
- skew(data: Union[list, tuple]) -> float
1050
- square_mean(numbers: Union[list, tuple]) -> Union[int, float, complex]
1051
- std(numbers: Union[list, tuple]) -> Union[int, float, complex]
1052
- tan(x: Union[int, float]) -> Union[int, float]
1053
- tanh(x: Union[int, float]) -> Union[int, float]
1054
- var(numbers: Union[list, tuple]) -> Union[int, float, complex]
1055
- zeta(alpha: Union[int, float]) -> float
1123
+ cumsum(lst: arr) -> list
1124
+ cumprod(lst: arr) -> list
1125
+ iroot(y: int, n: int) -> int
1126
+ totient(n: int) -> int
1127
+ mod_order(a: int, n: int, b: int) -> int
1128
+ primitive_root(a: int, single: bool = False) -> Union[int, list]
1129
+ normalize(data: arr, target: num = 1) -> arr
1130
+ average(data, weights, expected=False)
1131
+ exgcd(a: int, b: int) -> tuple
1132
+ crt(n: arr, a: arr) -> int
1056
1133
  ★ numbers [Conversion of various numbers]
1057
1134
  FUNCTIONS
1058
1135
  float2fraction(number: float, mixed: bool = False, error: float = 1e-15) -> tuple
@@ -1070,6 +1147,11 @@ PyPyNum
1070
1147
  unary(function, right: real = 5, left: real = -5, top: real = 5, bottom: real = -5, complexity: real = 5...
1071
1148
  binary(function, right: real = 5, left: real = -5, top: real = 5, bottom: real = -5, complexity: real = 5...
1072
1149
  c_unary(function, start: real, end: real, interval: real = 5, projection: str = "ri", right: real = 5...
1150
+ ★ polynomial [Polynomial object]
1151
+ CLASSES
1152
+ Polynomial
1153
+ FUNCTIONS
1154
+ poly(terms=None)
1073
1155
  ★ probability [Probability function]
1074
1156
  FUNCTIONS
1075
1157
  binomial(sample_size: int, successes: int, success_probability: Union[int, float]) -> float
@@ -1089,6 +1171,7 @@ PyPyNum
1089
1171
  polynomial_regression(x: Union[list, tuple], y: Union[list, tuple], n: int = None) -> list
1090
1172
  ★ sequence [Various sequences]
1091
1173
  FUNCTIONS
1174
+ farey(n: int) -> list
1092
1175
  fibonacci(n: int, single: bool = True) -> Union[int, list]
1093
1176
  catalan(n: int, single: bool = True) -> Union[int, list]
1094
1177
  bernoulli(n: int, single: bool = True) -> list
@@ -1097,11 +1180,21 @@ PyPyNum
1097
1180
  geometric_sequence(*, a1: real = None, an: real = None, r: real = None, n: real = None, s: real = None) -> dict
1098
1181
  ★ tools [Other useful tools]
1099
1182
  FUNCTIONS
1100
- classify(array: Union[list, tuple]) -> dict
1101
- deduplicate(iterable: Union[list, tuple, str]) -> Union[list, tuple, str]
1102
- frange(start: Union[int, float], stop: Union[int, float], step: float = 1.0) -> list
1103
- linspace(start: Union[int, float], stop: Union[int, float], number: int) -> list
1104
- split(iterable: Union[list, tuple, str], key: Union[list, tuple], retain: bool = False) -> list
1183
+ frange(start: real, stop: real, step: float = 1.0) -> list
1184
+ linspace(start: real, stop: real, number: int) -> list
1185
+ geomspace(start: real, stop: real, number: int) -> list
1186
+ deduplicate(iterable: ite) -> ite
1187
+ classify(array: arr) -> dict
1188
+ split(iterable: ite, key: arr, retain: bool = False) -> list
1189
+ interpolation(data: arr, length: int) -> list
1190
+ primality(n: int, iter_num: int = 10) -> bool
1191
+ generate_primes(limit: int) -> list
1192
+ prime_factors(integer: int, dictionary: bool = False, pollard_rho: bool = True) -> Union[list, dict]
1193
+ magic_square(n)
1194
+ ★ utils [Other useful tools]
1195
+ CLASSES
1196
+ InfIterator
1197
+ OrderedSet
1105
1198
  ```
1106
1199
 
1107
1200
  ### 代码测试
@@ -1,17 +1,19 @@
1
- pypynum/Array.py,sha256=JBBrfJcrBEm7zvAFkykkUpzHbsZj_Mlm0YTE7aOwaFI,6367
1
+ pypynum/Array.py,sha256=MLGvkYC9V7fGAR3g1Xykt_-hJYDC8mE47ji8dBcqFhk,6632
2
2
  pypynum/FourierT.py,sha256=AtG0tESykzEs4gDsXhcizW7qhQnmw0gjcWcXefBqzhs,1401
3
3
  pypynum/Geometry.py,sha256=bJCuif-wHO-t7oHFEE7ntzIdQwzUEbT3mcKgmBV6Wps,13982
4
+ pypynum/Graph.py,sha256=m9iTCNYRCZmAexDzwJ8Y6J7v1aweT-6TZkqh4fOtZDE,10131
4
5
  pypynum/Group.py,sha256=m39OZNRoG9b3p_7sS1u50A0rJl0aYqYPVvnttkYQ_gw,2944
5
6
  pypynum/Logic.py,sha256=IJAv59ECHU0HmG9lYCAQ_puqeL6Zor3-IDIVH48KBWE,11000
6
- pypynum/Matrix.py,sha256=NLwrjpikZRsT8_tdH20NMFnDh2S2iY_XMOyOJAZQK8w,10771
7
+ pypynum/Matrix.py,sha256=Z2k0bl_VpnaWB3QZjokR9CR7-kDaYIKUjKITWTYGa98,11024
7
8
  pypynum/NeuralN.py,sha256=iSOvC9JW1h4AFGokGGOTkKie5hAYN_YT9H4f3apI9b8,3275
8
9
  pypynum/PyPyNum.png,sha256=t96tJPWfHxT8kcXm_qZI2z5W36TgOqjCU9qdgbmlFws,11623
9
10
  pypynum/Quaternion.py,sha256=E7ajc4sDJyOuQQIwKPhUEHgiaeeR5BEzFZHhJMxvbok,8007
10
- pypynum/README.md,sha256=9DuPspJX-lPyb2PTeXHkBqpFkI_VV1oN5Qu9C9my3FQ,43388
11
+ pypynum/README.md,sha256=fiCTdsbI9rza9ZogDQ2jwxHhTFXD7dR6vfAbBTkYUP4,43971
11
12
  pypynum/Symbolics.py,sha256=Nfo0DEch7LII53ye1wZAdIfd3IAOKbECnZQMSk_cmCs,2898
12
- pypynum/Tensor.py,sha256=FIeRh0BS_N7Mr_1l_7wv63_BmacjMpit4ydEkXhGaz0,3614
13
- pypynum/Vector.py,sha256=V_d3sUtr5IEzxqA_ZqjYDuZKCIkkV3kod9Wv8DZYLy0,3310
14
- pypynum/__init__.py,sha256=eIB7kD2cOJko64BsokuIvD7FBvxALonYUYx_Bs6DU94,1717
13
+ pypynum/Tensor.py,sha256=SJzGRNwHZzOgEabt47scccb-plA25-6s01SFyHd6lJo,3801
14
+ pypynum/Tree.py,sha256=MUT9LErZ3ER_cbiga-nOaZC7Hln8jEV8tRca2dRPWmY,2827
15
+ pypynum/Vector.py,sha256=eiFCY6H35pMvvDX7NpLux_bSfLI8rK8JHkaRxv7pOW8,3552
16
+ pypynum/__init__.py,sha256=akxx-NuZTFE9fnNW9u6KUo3KyA-vU8iU_m70FQmfzb0,1831
15
17
  pypynum/__temporary.py,sha256=OAs7it7xjDovgAmKLcj-9Pqp0228SSon3OZx0ih_h4I,5860
16
18
  pypynum/chars.py,sha256=VcK9w0i73FMCzc-9aIibjdHqyMsofJXdoBq0d8L7Vr0,1001
17
19
  pypynum/cipher.py,sha256=J5PZl8Xt71LuX29eSBu4cybNK6Z3rhA9og_YzD0YJfU,1002
@@ -19,18 +21,20 @@ pypynum/constants.py,sha256=s2P1K8HH2nqoA6_YOVf6TKRl1Ozjf79GmCmLN9YbWxI,843
19
21
  pypynum/equations.py,sha256=_4xIXr7A56qBXKzJXyb91L4h09H7TDVNrcufy-XxkaI,744
20
22
  pypynum/errors.py,sha256=11-Au4aV8H5ExaDuMtu5iuGvpRaJP8gW7XbGNRmefSI,173
21
23
  pypynum/file.py,sha256=rqrPdcX0NOEPM8s40-ymgPKsTn0HKABW-VEh1OtPnsk,3188
22
- pypynum/maths.py,sha256=npPY9RHzKd44gQzoq-fL74_UD5utcjX58-HOeftPMLI,20235
24
+ pypynum/maths.py,sha256=53TDBkZkHh1FZIQFfhi-_YwXvTSf630G-ooDS1Z7PFc,26518
23
25
  pypynum/numbers.py,sha256=WOxwwAN3yHakN4eHcVNn35qsfDcgw3UPSblv4woWyDE,6028
24
26
  pypynum/plotting.py,sha256=YQg9sO_nuLSaAKQuSpebWVvbu-ns2A7JOrHch6r0FQ0,8326
27
+ pypynum/polynomial.py,sha256=psFukA31Ed4U7hZHcCGWCpYMi8tanTsZl-pUdklikfg,5998
25
28
  pypynum/probability.py,sha256=kZLCfZb2q_y1CVbozSZj9xQ8Dw3il5WcAojX0jsNyXw,2130
26
29
  pypynum/random.py,sha256=vfTtyH5yOSKJoSI_-NT_Tg8wC-ZXT0wt34f87oaSpJY,4610
27
30
  pypynum/regression.py,sha256=D9J9lM23HiyY4eE8vHKaHoiwuvD1RYhkVNO0jQ4yml4,2118
28
- pypynum/sequence.py,sha256=JtRc3pkhso71ZeabxHluyVmTDcoKUKbUcGyk5F4MLdA,6554
31
+ pypynum/sequence.py,sha256=7NSZm_p_B00KFj5XZrtSm2FXhsowxs0qg_Q_P4pAA8o,7194
29
32
  pypynum/test.py,sha256=Bksa7HZaywKBbLaCw2R5kGRFj6eKzkkJ7BdJBgIB3uM,8428
30
33
  pypynum/this.py,sha256=8Swp75xE5g6436NCVDfYUVwUzUcQFPLcCNFWQWY5eGQ,2129
31
- pypynum/tools.py,sha256=8oMApp9ElC_VXlZZl4_ZrGuXZGwNOc0MVA4aigg06Ww,7268
34
+ pypynum/tools.py,sha256=jqmzsRi2INRlnI4hb4IbpMKHlvEww3ZKO9y6DxrJUbA,12697
32
35
  pypynum/types.py,sha256=CVWPZo_ACr_QGH5gAOhoG3jK35peiqipu3PH8ScEYHE,181
33
- PyPyNum-1.6.0.dist-info/METADATA,sha256=On7xdLo9p4R0EE3QCYjiXF59nxc_rcJqF2YqlJAiuqM,84223
34
- PyPyNum-1.6.0.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
35
- PyPyNum-1.6.0.dist-info/top_level.txt,sha256=4wW_Xb4bRglmiMsdPAe9f75MkXhNpuN88H17g_Cr5u8,8
36
- PyPyNum-1.6.0.dist-info/RECORD,,
36
+ pypynum/utils.py,sha256=V1k-JFHLr_VGUVqwOeAVH9Ju7AHQVEoVgYA7M-dPsLw,9881
37
+ PyPyNum-1.8.0.dist-info/METADATA,sha256=sKDkUYxVw125A9ZsbFD_AigRGifQOSUMR0jrIgKkIh8,85418
38
+ PyPyNum-1.8.0.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
39
+ PyPyNum-1.8.0.dist-info/top_level.txt,sha256=4wW_Xb4bRglmiMsdPAe9f75MkXhNpuN88H17g_Cr5u8,8
40
+ PyPyNum-1.8.0.dist-info/RECORD,,
pypynum/Array.py CHANGED
@@ -4,6 +4,13 @@ ArrayError = ShapeError("The shape of the array is invalid")
4
4
 
5
5
 
6
6
  class Array:
7
+ """
8
+ It is the base class of vectors, matrices, and tensors,
9
+ which does not support operations but has many statistical functions.
10
+ :param data: An array in the form of a list
11
+ :param check: Check the rationality of the input array
12
+ """
13
+
7
14
  def __init__(self, data=None, check=True):
8
15
  if data is None:
9
16
  data = []