| MATLAB Central > MATLAB Newsreader > Sparse matrix indexing speed -- shape sensitivity |
|
|
|
Subject: Sparse matrix indexing speed -- shape sensitivity From: Matt J Date: 27 Aug, 2011 23:30:31 Message: 1 of 15 |
|
I know you're not supposed to build sparse matrices using assignment operations, but I don't think it explains the drastic shape sensitivity that I'm seeing below. Does anyone understand what's happening? |
|
Subject: Sparse matrix indexing speed -- shape sensitivity From: Bruno Luong Date: 28 Aug, 2011 07:24:11 Message: 2 of 15 |
|
The time is even worst for |
|
Subject: Sparse matrix indexing speed -- shape sensitivity From: Bruno Luong Date: 28 Aug, 2011 08:12:10 Message: 3 of 15 |
|
For those who don't know, the SETSPARSE function is from: |
|
Subject: Sparse matrix indexing speed -- shape sensitivity From: Bruno Luong Date: 28 Aug, 2011 10:03:08 Message: 4 of 15 |
|
I did some test and it looks like the sparse assigment command |
|
Subject: Sparse matrix indexing speed -- shape sensitivity From: Matt J Date: 28 Aug, 2011 13:18:10 Message: 5 of 15 |
|
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <j3cqer$o66$1@newscl01ah.mathworks.com>... |
|
Subject: Sparse matrix indexing speed -- shape sensitivity From: Bruno Luong Date: 28 Aug, 2011 13:30:28 Message: 6 of 15 |
|
"Matt J" wrote in message <j3df6i$jnq$1@newscl01ah.mathworks.com>... |
|
Subject: Sparse matrix indexing speed -- shape sensitivity From: Matt J Date: 28 Aug, 2011 14:44:11 Message: 7 of 15 |
|
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <j3dftj$lkh$1@newscl01ah.mathworks.com>... |
|
Subject: Sparse matrix indexing speed -- shape sensitivity From: Bruno Luong Date: 28 Aug, 2011 17:20:28 Message: 8 of 15 |
|
"Matt J" wrote in message <j3dk7r$3mp$1@newscl01ah.mathworks.com>... |
|
Subject: Sparse matrix indexing speed -- shape sensitivity From: Matt J Date: 28 Aug, 2011 22:34:11 Message: 9 of 15 |
|
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <j3dtcs$rjq$1@newscl01ah.mathworks.com>... |
|
Subject: Sparse matrix indexing speed -- shape sensitivity From: Loren Shure Date: 29 Aug, 2011 14:30:07 Message: 10 of 15 |
|
|
|
Subject: Sparse matrix indexing speed -- shape sensitivity From: James Tursa Date: 29 Aug, 2011 14:56:09 Message: 11 of 15 |
|
"Matt J" wrote in message <j3efp3$h5h$1@newscl01ah.mathworks.com>... |
|
Subject: Sparse matrix indexing speed -- shape sensitivity From: Matt J Date: 29 Aug, 2011 15:10:47 Message: 12 of 15 |
|
"James Tursa" wrote in message <j3g9a9$rf1$1@newscl01ah.mathworks.com>... |
|
Subject: Sparse matrix indexing speed -- shape sensitivity From: Steven_Lord Date: 29 Aug, 2011 15:24:53 Message: 13 of 15 |
|
|
|
Subject: Sparse matrix indexing speed -- shape sensitivity From: Bruno Luong Date: 29 Aug, 2011 15:33:13 Message: 14 of 15 |
|
"Matt J" wrote in message <j3ga5n$194$1@newscl01ah.mathworks.com>... |
|
Subject: Sparse matrix indexing speed -- shape sensitivity From: Matt J Date: 29 Aug, 2011 19:07:27 Message: 15 of 15 |
|
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <j3gbfp$63s$1@newscl01ah.mathworks.com>... |
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
| Tag Activity for This Thread | ||
|---|---|---|
| Tag | Applied By | Date/Time |
| obscure behavior | Matt J | 29 Aug, 2011 17:08:38 |
| indexing | Matt J | 28 Aug, 2011 09:08:48 |
| subsasgn | Matt J | 28 Aug, 2011 09:08:48 |
| shape sensitivity | Matt J | 27 Aug, 2011 19:37:14 |
| sparse | Matt J | 27 Aug, 2011 19:37:14 |
Contact us at files@mathworks.com
