[Top][All Lists]

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

[Octave-bug-tracker] [bug #36964] incorrect low-rank product of sliced d

From: anonymous
Subject: [Octave-bug-tracker] [bug #36964] incorrect low-rank product of sliced diagonal matrices
Date: Thu, 26 Jul 2012 13:51:21 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/12.04 Chromium/18.0.1025.168 Chrome/18.0.1025.168 Safari/535.19


                 Summary: incorrect low-rank product of sliced diagonal
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Do 26 Jul 2012 13:51:20 UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: André Gaul
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.2.4
        Operating System: GNU/Linux



In Octave 3.2.4 the product of 2 sliced diagonal matrices yields a wrong

octave:1> I=eye(2); U=I(:,1); U*U'
ans =

Diagonal Matrix

   1   0
   0   1

The result should be [1,0;0,0] and indeed it is correct if full() is applied
in the construction of I:

octave:2> I=full(eye(2)); U=I(:,1); U*U'
ans =

   1   0
   0   0


Reply to this item at:


  Nachricht gesendet von/durch Savannah

reply via email to

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