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

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

[Octave-bug-tracker] [bug #38954] kron product: output not sparse for di


From: Carnë Draug
Subject: [Octave-bug-tracker] [bug #38954] kron product: output not sparse for diagonal input
Date: Thu, 09 May 2013 19:22:42 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20100101 Firefox/10.0.12 Iceweasel/10.0.12

URL:
  <http://savannah.gnu.org/bugs/?38954>

                 Summary: kron product: output not sparse for diagonal input
                 Project: GNU Octave
            Submitted by: carandraug
            Submitted on: Thu 09 May 2013 07:22:41 PM GMT
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.6.4
        Operating System: Any

    _______________________________________________________

Details:

If any of the inputs in the kron function is sparse, the output should be
sparse as well. However, if the first input is not sparse AND comes from eye
() then it won't:


> issparse (kron (sparse (rand (5)), rand (5)))
ans = 1
> issparse (kron (rand (5), sparse (rand (5))))
ans = 1
> issparse (kron (sparse (rand (5)), eye (5)))
ans = 1
> issparse (kron (eye (5), sparse (rand (5))))
ans = 0





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?38954>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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