| MATLAB Central > MATLAB Newsreader > What function to overload for plain : operator? |
|
|
|
Subject: What function to overload for plain : operator? From: Hoi Wong Date: 28 Mar, 2009 22:47:02 Message: 1 of 6 |
|
I'm trying to write my own sparse_cell class and I noticed that the s.subs for subsref and subsasgn does not process a plain colon (:) operator into a vector. It only showed up as ':', which means I have to consider non-vector references. It's so confusing that the co-author initially overlooked this case and have ':' evaluated as 58 as index and the class generated legitimate but wrong output. |
|
Subject: What function to overload for plain : operator? From: Donn Shull Date: 29 Mar, 2009 02:20:02 Message: 2 of 6 |
|
"Hoi Wong" <wonghoi.ee@gmailNOSPAM.com> wrote in message <gqm9d6$ch5$1@fred.mathworks.com>... |
|
Subject: What function to overload for plain : operator? From: Hoi Wong Date: 29 Mar, 2009 02:48:01 Message: 3 of 6 |
|
"Donn Shull" <donn.shull.no_spam@aetoolbox.com> wrote in message <gqmlsi$i68$1@fred.mathworks.com>... |
|
Subject: What function to overload for plain : operator? From: Loren Shure Date: 30 Mar, 2009 14:23:55 Message: 4 of 6 |
|
In article <gqm9d6$ch5$1@fred.mathworks.com>, wonghoi.ee@gmailNOSPAM.com |
|
Subject: What function to overload for plain : operator? From: Steven Lord Date: 30 Mar, 2009 17:19:06 Message: 5 of 6 |
|
|
|
Subject: What function to overload for plain : operator? From: Hoi Wong Date: 30 Mar, 2009 18:12:02 Message: 6 of 6 |
|
"Steven Lord" <slord@mathworks.com> wrote in message <gqqutf$lnh$1@fred.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.
