Geometric algebra: Difference between revisions
m
J: give up on the dense implementation, since there's something wrong with it and we've got a working version
m (J: conform to task change) |
m (J: give up on the dense implementation, since there's something wrong with it and we've got a working version) |
||
Line 262:
=={{header|J}}==
Sparse arrays give better performance for this task, and support relatively arbitrary dimensions, but can be a bit quirky because current implementations of J do not support some features for sparse arrays. We add vectors x and y using <code>x + y</code>. Also, the first element of one of these vectors represents the "real valued" or "scalar component" of the vector.
|