Metadata-Version: 2.5
Name: linear_tool_khoirun
Version: 0.0.4
Summary: แพ็กเกจคำนวณเมทริกซ์และลำดับคณิตศาสตร์
Project-URL: Homepage, https://github.com/username/linear_tool
Author-email: Khoirunnina Chearma <khoirunnina.ch@mail.wu.ac.th>
License: MIT
License-File: LICENSE
Keywords: linear,mathematics,matrix,sequence
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

# linear_tool_khoirunnina

Python Package สำหรับการคำนวณเมทริกซ์และลำดับคณิตศาสตร์

## การใช้งาน (Usage)

```python
import linear_tool as lt

# ============================================
# 1. ฟังก์ชันทางเมทริกซ์ (Matrix)
# ============================================
A = [[1, 2], [3, 4]]
B = [[5, 6], [7, 8]]

print("Add Matrix:", lt.add_matrix(A, B))          # [[6, 8], [10, 12]]
print("Subtract Matrix:", lt.subtract_matrix(A, B)) # [[-4, -4], [-4, -4]]
print("Scalar Multiply:", lt.scalar_multiply(A, 2)) # [[2, 4], [6, 8]]
print("Transpose:", lt.transpose(A))               # [[1, 3], [2, 4]]
print("Determinant 2x2:", lt.determinant_2x2(A))   # -2.0

# ============================================
# 2. ฟังก์ชันทางลำดับและอนุกรม (Sequence)
# ============================================
print("Arithmetic Term:", lt.arithmetic_term(2, 3, 5)) # 14.0
print("Arithmetic Sum:", lt.arithmetic_sum(2, 3, 5))   # 40.0
print("Geometric Term:", lt.geometric_term(2, 2, 5))   # 32.0
print("Geometric Sum:", lt.geometric_sum(2, 2, 5))     # 62.0
print("Factorial:", lt.factorial(5))                   # 120