[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #43855] Matlab compatibility: allow indexing o
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #43855] Matlab compatibility: allow indexing of sparse matrix with an N-D Array |
Date: |
Sat, 20 Dec 2014 11:51:12 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:34.0) Gecko/20100101 Firefox/34.0 |
URL:
<http://savannah.gnu.org/bugs/?43855>
Summary: Matlab compatibility: allow indexing of sparse
matrix with an N-D Array
Project: GNU Octave
Submitted by: None
Submitted on: Sat 20 Dec 2014 11:51:11 AM UTC
Category: Libraries
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Matlab Compatibility
Status: None
Assigned to: None
Originator Name: Elias Vanderstuyft
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: 3.6.4
Operating System: Any
_______________________________________________________
Details:
In Octave:
octave:1> s=sparse(rand(1,1)); s(ones(1,1,2))
error: cannot index sparse matrix with an N-D Array
In MATLAB:
>> s=sparse(rand(1,1)); s(ones(1,1,2))
ans =
(1,1) 0.8147
(1,2) 0.8147
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?43855>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #43855] Matlab compatibility: allow indexing of sparse matrix with an N-D Array,
anonymous <=