strange array size problem

chip9munk chip9munk at gmail.com
Fri Oct 18 12:10:33 EDT 2013


On 18.10.2013 18:05, Oscar Benjamin wrote:
> It means that the additional column is a linear combination of the 
> existing columns. This means that your system of equations can contain 
> a contradiction. Essentially you're trying to get the least squares 
> solution to something like: 3*x + y = 1 1*x + 2*y = 4 1*x + 2*y = 5 # 
> Contradicts the equation above Because of floating point error it 
> isn't *exactly* a contradiction so you get silly values instead of an 
> error. http://en.wikipedia.org/wiki/Rank_(linear_algebra)

I get it, due to the type of data this can be possible and I am sure 
that is the issue.
Now I have to figure out how to solve it, but at least you have 
identified the problem for me.

Thank you very much for clear and prompt solution!

Best



More information about the Python-list mailing list