octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug when dividing a scalar by a vector?


From: Sebastian Schöps
Subject: Re: Bug when dividing a scalar by a vector?
Date: Thu, 12 Jan 2017 07:42:33 -0800 (PST)

Montgomery-Smith, Stephen wrote
> My guess is that it is solving the underdetermined equation:
> 
> x1+x2+x3+x4=1.
> 
> So both solutions are correct answers.  There are infinitely many correct
> answers.
> 
> If I had to choose, I guess I would go for the answer who square sum is
> minimized, which would favor Octave's answer.

Thanks! That explains the behaviour and I agree that both solutions do make
sense. However, is that documented somewhere? Shouldn't there be a warning?
Similar to the case when a singular linear equation system is solved?

Sebastian



--
View this message in context: 
http://octave.1599824.n4.nabble.com/Bug-when-dividing-a-scalar-by-a-vector-tp4681411p4681413.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]