isolating a special case

Dushan Mitrovich dushanm at spinn.net
Fri Dec 7 00:42:07 CST 2007


Przemek Klosowski <przemek at jazz.ncnr.nist.gov> wrote:
>       fieldmatrix = (range<0.1)*selffield + (0.1<=range)*otherfield
>
> Make selffield a sparse matrix? It's still wasteful in that it does
> uneeded sparse matrix lookups and adds the resulting zeros.

I'll take a look at this option.  Right now I'm exploring using switch/case
to see how well that might work.  Thanks for the suggestion.

- Dushan



More information about the Help-octave mailing list