LWN: Comments on "A new release for GNU Octave" https://lwn.net/Articles/840050/ This is a special feed containing comments posted to the individual LWN article titled "A new release for GNU Octave". en-us Mon, 01 Sep 2025 02:35:15 +0000 Mon, 01 Sep 2025 02:35:15 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net A new release for GNU Octave https://lwn.net/Articles/840835/ https://lwn.net/Articles/840835/ leephillips <div class="FormattedComment"> One can certainly check for the uniqueness of solutions in Octave, but that was not important in this brief example. The returned solution is correct, if not unique.<br> </div> Sun, 20 Dec 2020 17:40:49 +0000 A new release for GNU Octave https://lwn.net/Articles/840507/ https://lwn.net/Articles/840507/ xyz <div class="FormattedComment"> The example given is not representative of the usual way to solve linear systems in Octave.<br> It is not idiomatic as the usual way would be to use the left division operator, also following the usual notation the matrix is represented with a capital letter:<br> <p> <font class="QuotedText">&gt;&gt; A = [1 2 3; 3 2 1; 2 2 2];</font><br> <font class="QuotedText">&gt;&gt; b = [2 2 2]&#x27;;</font><br> <font class="QuotedText">&gt;&gt; A \ b</font><br> warning: matrix singular to machine precision<br> ans =<br> <p> 0.3333<br> 0.3333<br> 0.3333<br> <p> As you see Octave is saying that within the used precision the matrix is non-invertible and so the solution is not unique.<br> <p> Regarding linsolve this is what the first lines have to say about it. (TL;DR linsolve is an advance frontend when used with other options)<br> <p> <font class="QuotedText">&gt;&gt; help linsolve</font><br> &#x27;linsolve&#x27; is a function from the file /home/jamatos/devel/octave/scripts/linear-algebra/linsolve.m<br> <p> -- X = linsolve (A, B)<br> -- X = linsolve (A, B, OPTS)<br> -- [X, R] = linsolve (...)<br> Solve the linear system &#x27;A*x = b&#x27;.<br> <p> With no options, this function is equivalent to the left division<br> operator (&#x27;x = A \ b&#x27;) or the matrix-left-divide function<br> (&#x27;x = mldivide (A, b)&#x27;).<br> ....<br> <p> </div> Thu, 17 Dec 2020 10:02:36 +0000 A new release for GNU Octave https://lwn.net/Articles/840501/ https://lwn.net/Articles/840501/ bneven <div class="FormattedComment"> Your example system of equations is not linearly independent; (x, 1-2x, x) is a solution for any value of x. Shouldn&#x27;t Octave warn you about that?<br> </div> Thu, 17 Dec 2020 09:27:07 +0000 A new release for GNU Octave https://lwn.net/Articles/840323/ https://lwn.net/Articles/840323/ leephillips <div class="FormattedComment"> That’s an interesting project, thanks for mentioning that.<br> </div> Wed, 16 Dec 2020 13:18:34 +0000 A new release for GNU Octave https://lwn.net/Articles/840315/ https://lwn.net/Articles/840315/ tchernobog <div class="FormattedComment"> Worth mentioning is also KDE&#x27;s Cantor support for Octave, which allows for a very nice GUI.<br> <p> <a href="https://cantor.kde.org/">https://cantor.kde.org/</a><br> </div> Wed, 16 Dec 2020 12:15:53 +0000