Metadata-Version: 2.5
Name: math_stats_raibeena
Version: 0.1.1
Summary: ตัวอย่าง Python Package สำหรับการคำนวณเมทริกซ์และสถิติพื้นฐาน
Project-URL: homepage, https://github.com/username/math_stats
Project-URL: documentation, https://github.com/username/math_stats#readme
Project-URL: repository, https://github.com/username/math_stats.git
Project-URL: Bug Tracker, https://github.com/username/math_stats/issues
Author-email: Raibeena <Raibeena.ye@mail.wu.ac.th>
License: MIT
License-File: LICENSE
Keywords: matrices,statistic
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.8
Description-Content-Type: text/markdown

math_stats_raibeena
Python Package สำหรับการคำนวณเมทริกซ์และสถิติพื้นฐาน
การใช้งาน
import math_stats_raibeena as pkg

# ใช้งานฟังก์ชันเมทริกซ์ (matrix)
u = (1, 2)
v = (3, 4)
m = [[1, 2], [3, 4]]

print(pkg.vector_add(u, v))
print(pkg.dot_product(u, v))
print(pkg.matrix_transpose(m))
print(pkg.matrix_trace(m))
print(pkg.det_2x2(m))
# ใช้งานฟังก์ชันทางสถิติ (statistic)
data_x = [10, 12, 15, 18, 20]
data_y = [5, 8, 10, 14, 18]

print(pkg.mean(data_x))
print(pkg.variance(data_x))
print(pkg.std_dev(data_x))
print(pkg.z_score(15, data_x))
print(pkg.covariance(data_x, data_y))
