arsatiki / clical.js

A reimplementation of CLICAL, the Clifford Algebra calculator
http://arsatiki.github.com/clical.js/
3 stars 2 forks source link

Figure out the multivector interface #10

Closed arsatiki closed 11 years ago

arsatiki commented 11 years ago

Multivector operations:

The first two are easyish.

For display, the sane interface seems to be a list of terms with coefficient, normalized coefficient, sign and list of bases. (This is also close to the current implementation, which is why I've never bothered to specify it.)

arsatiki commented 11 years ago

Display: toString and outputFormat.

Arithmetic ops: plus, minus, neg, ...

Creation: