Metadata-Version: 2.5
Name: linear-algebra01-kittithuch
Version: 0.1.4
Summary: แพ็กเกจสำหรับ linear algebra
Project-URL: Homepage, https://github.com/username/my_package
Project-URL: Documentation, https://github.com/username/my_package#readme
Project-URL: Repository, https://github.com/username/my_package.git
Project-URL: Bug Tracker, https://github.com/username/my_package/issues
Author-email: Kittithuch Chuaynoo <qmedikup@gmail.com>
License: MIT
License-File: LICENSE
Keywords: linear algebra,math
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 Algebra Package (by Kittithuch)

แพ็กเกจสำหรับคำนวณและประมวลผลทางพีชคณิตเชิงเส้น (Linear Algebra) ขั้นพื้นฐาน เช่น การจัดการเวกเตอร์ (Vector Operations) และการคำนวณ Subspace & Span

## การใช้งาน

เมื่อติดตั้งแพ็กเกจแล้ว สามารถนำเข้าใช้งานได้ทันที:

```python
import linear_algebra01_kittithuch as la

# --------------------------------------------------
# 1. การจัดการเวกเตอร์ (Vector Operations)
# --------------------------------------------------
u = [1.0, 2.0, 2.0]
v = [3.0, 0.0, -1.0]

print("1. u + v =", la.vector_add(u, v))
print("2. 3 * u =", la.scalar_multiply(3, u))
print("3. Magnitude of u =", la.vector_magnitude(u))
print("4. Unit vector of u =", la.unit_vector(u))
print("5. Is [0, 0, 0] Zero Vector? =", la.is_zero_vector([0, 0, 0]))

# --------------------------------------------------
# 2. การคำนวณ Subspace และ Span
# --------------------------------------------------
v1 = [1.0, 0.0]
v2 = [0.0, 1.0]
scalars = [2.0, -3.0]

print("1. Linear Combination (2*v1 - 3*v2) =", la.linear_combination(scalars, [v1, v2]))
print("2. Contains Zero Vector? =", la.is_subspace_contains_zero([v1, v2, [0, 0]]))
print("3. Are v1, v2 Linearly Independent? =", la.is_linearly_independent_2d(v1, v2))
print("4. Do v1, v2 Span R^2? =", la.is_spanning_r2(v1, v2))
print("5. Standard Basis for R^3 =", la.standard_basis_r(3))