$ 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
-
Notifications
You must be signed in to change notification settings - Fork 0
Universal Geometric Algebra for javascript
License
citron/clifford.js
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Universal Geometric Algebra for javascript
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published