akabel

16 Reputation

4 Badges

18 years, 147 days

MaplePrimes Activity


These are replies submitted by akabel

I apologize, the code somehow got mangled. It should read f := proc(x := X) option remember; x; end proc: g := proc(x := X) x; end proc: X := 0: f(); g(); X := 1: f(); g();
I'm not trying to do anything with these vectors. I am just puzzled by the fact that, after overloading `*`, the result of A[1]*B[1] is different from A.B = sum(A[i]*B[i]); I could have used any other user-defined data type and any other vector dimension.
I'm not trying to do anything with these vectors. I am just puzzled by the fact that, after overloading `*`, the result of A[1]*B[1] is different from A.B = sum(A[i]*B[i]); I could have used any other user-defined data type and any other vector dimension.
Page 1 of 1