Skip to content

TypeScript Geometric Algebra implementations with proper typing. Autogenerated using Python and TFGA.

License

Notifications You must be signed in to change notification settings

RobinKa/typed-ga

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Typed Geometric Algebra

TypeScript Geometric Algebra implementations with proper typing. Autogenerated using Python and TFGA.

Geometric Algebra Tutorial

Structure

  • generated/: TypeScript implementations for Geometric Algebras with different signatures ordered as 0 -> -1 -> +1 (eg. signature [0, -1, 1, 1] is ga_zmpp.ts)
  • generated_js/: Same as generated/ but transpiled to JavaScript
  • tsgen.ipynb: Jupyter notebook that generates the TypeScript implementations
  • example.ts: The example from the above screenshot
  • intro.ipynb: Motivation and introduction for Geometric Algebra

Generating new algebras

To generate new algebras running the notebook is required. The notebook requires installing TFGA. The last cell contains the code to generate the TypeScript files. Here arbitrary signatures can be defined to be generated.

About

TypeScript Geometric Algebra implementations with proper typing. Autogenerated using Python and TFGA.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published