From fcf9b2c0e7bb8f223cdc2cd3ca8c6db17907ac7b Mon Sep 17 00:00:00 2001
From: Michael Stevens
Two interesting and dangerous facts result.
+Two interesting and dangerous facts result:
First one may get serious side effects using element wise +
One may get serious side effects using element wise evaluation on vectors or matrices. Consider the matrix vector product x = A x. Evaluation of A1x and assignment to @@ -230,7 +230,7 @@ By using this syntax a programmer can confirm, that the left and right hand side assignment are independent, so that element wise evaluation and direct assignment to the target is safe.
Next one can get worse computational complexity under certain +
The computational complexity may be unexpectedly large under certain cirumstances. Consider the chained matrix vector product A (B x). Conventional evaluation of A (B x) is quadratic. Deferred evaluation of B xi is linear.