octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #61305] In linear-algebra/null.m function, lin


From: anonymous
Subject: [Octave-bug-tracker] [bug #61305] In linear-algebra/null.m function, line 63 should use upper case S instead of the lower case s. rank = sum (S > tol)
Date: Thu, 7 Oct 2021 11:33:36 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:92.0) Gecko/20100101 Firefox/92.0

Follow-up Comment #2, bug #61305 (project octave):

The following example shows the warning messages produced as a result of using
the diagonal matrix S to compute the rank in null.m.  

>> p1 = [1;1];
>> p2 = [2;2];
>> null(p1-p2)
                                                                        ans =
[](1x0)
>> p1 = [1,1];
>> p2 = [2,3];
>> null(p1-p2)
warning: colon arguments should be scalars
warning: called from
    null at line 67 column 14

                                                                        ans =
                                                                         
-0.8944
                                                                          
0.4472


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61305>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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