associativity of matrix multiplication in numpy

I am playing with a simple numpy example and having hard time to understand why associative property of matrix multiplication ABC = (AB)C = A(BC) does not exactly hold. I assume the problem is with numeric stability. But how to address it? What i...
more »

2016-12-08 19:12 (0) Answers

Ax=b with b dependent on x

I understand how to solve Ax=b, but what if b is dependent on x? See in the pictures E3 = function(E4). I guess this is done iteratively.. what is such a problem called? what methods do I use to solve it? I am trying to solve the following system: ...
more »

2016-10-01 11:10 (2) Answers