Skip to content

citron/clifford.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clifford.js - Universal Algebra for javascript

Synopsis

$ node
> let $clifford = require("./clifford"),
   parser    = $clifford.parser,
   parse     = str => parser.parse(str),
   expr      = parse("1 + ni∧no");
> expr
Addition {
  left: Int { numerator: [Number: 1], denominator: 1 },
  right:
   Multiplication {
     left: NullBaseVector { name: '∞' },
     right: NullBaseVector { name: 'ο' } } }
> expr.toString()
1+∞*ο
> expr = expr.compute()
Int { numerator: 0, denominator: 1 }
> expr.toString()
0

About

Universal Geometric Algebra for javascript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published