MobMonRob / DSL4GeometricAlgebra

DSL for Geometric algebra with Java
Apache License 2.0
3 stars 1 forks source link

X[i] Return the i'th coefficient from the multivector X #5

Open orat opened 2 years ago

orat commented 2 years ago

e.g. if X is an multivector and i is a an integer < 32 than X[3] is an multivector with only a value !=0 at index 3

orat commented 2 years ago

This idea is incompatible with the usage of the brackets to define multi-arrays of multivectors. Multidimensional arrays are needed to combine CGA with linear algebra.