Jump to content

Talk:Geometric algebra: Difference between revisions

Line 156:
 
:::: The trick, here, seems to be that in this context we use multiple conflicting concepts of the term "dimension" and, for related terms such as "scalar" and "vector". A thorough exposition would detail each of these uses and show - ideally through concrete examples - how each of them is relevant to the implementation, as well as how each of these uses is different from the other uses of the same word, and perhaps the phrasing conventions we should be using to distinguish between these cases. --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 17:55, 19 October 2015 (UTC)
 
A current problem with this task is that it only tests for symmetric results.
 
In other words, the javascript implementation would work even if the multiply routine were changed from
 
<lang javascript>...
for (var i in a) {
if (a[i]) {
for (var j in b) {
if (b[j]) {
...</lang>
 
to
 
<lang javascript>...
for (var i in a) {
if (a[i]) {
var j= i;
if (b[j]) {
...</lang>
 
Obviously, "quaternions" which result from this kind of implementation would not be real quaternions. But, this is an easy mistake to make.
 
But also display of asymmetric results seems both ugly and difficult to interpret, so I'll just mention that this is how the task is currently written. --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 10:11, 21 October 2015 (UTC)
 
== The J solution might be correct but too small ==
6,962

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.