Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/MysticalUnicat/ga_bqn
Geometric Algebra for BQN
https://github.com/MysticalUnicat/ga_bqn
Last synced: 28 days ago
JSON representation
Geometric Algebra for BQN
- Host: GitHub
- URL: https://github.com/MysticalUnicat/ga_bqn
- Owner: MysticalUnicat
- License: mpl-2.0
- Created: 2021-12-02T18:34:43.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-11T12:34:02.000Z (about 3 years ago)
- Last Synced: 2024-08-04T00:12:00.799Z (4 months ago)
- Size: 12.7 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-bqn - ga_bqn
README
# ga_bqn
Geometric Algebra for BQNgeometric_algebra.bqn provides a single function, `Algebra` that takes a single 3 length list of natural numbers.
The first number is for positive dimensions, the second for negative dimensions and third for degenerate dimensions.
`Algebra` returns a namespace with geometric functions for that algebra.
```
positive ← 2
negative ← 0
degenerate ← 1
pga2d ← Algebra positive‿negative‿degenerate⟨Mul, Wedge, Vee, Dot⟩ ← ⟨
pga2d.GeometricProduct
pga2d.ExteriorProduct
pga2d.RegressiveProduct
pga2d.InnerProduct
⟩
```