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

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

[Octave-bug-tracker] [bug #40089] bsxfun fails with logical operation on


From: David Spies
Subject: [Octave-bug-tracker] [bug #40089] bsxfun fails with logical operation on sparse matrices
Date: Sun, 22 Sep 2013 22:40:26 +0000
User-agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/28.0.1500.71 Chrome/28.0.1500.71 Safari/537.36

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

                 Summary: bsxfun fails with logical operation on sparse
matrices
                 Project: GNU Octave
            Submitted by: dspyz
            Submitted on: Sun 22 Sep 2013 22:40:25 GMT
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: dspyz
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

When attempting to use bsxfun to @and a matrix with a vector

cliques = sparse([1,1,2,2],[1,2,2,3],[1,1,1,1],2,5)
v = [1,0,1,0,1]

bsxfun(@and,cliques,v)

I get

error: concatenation operator not implemented for '<unknown type>' by 'sparse
matrix' operations





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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