Skip to content

Latest commit

 

History

24 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

6 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages