Mercurial > hg > octave-lyh
comparison scripts/linear-algebra/logm.m @ 16466:ac332eb727dd
Simplify calculation of colormaps
* scripts/image/copper.m: Replace slower linspace with range operator.
* scripts/image/hot.m: Add test for n==2 to allow elimination of subsequent
if conditional tests. Replace mod calculation with simpler expression.
* scripts/image/rainbow.m: Replace slower linspace with range operator.
Align columns of calculation for better code readability.
author | Rik <rik@octave.org> |
---|---|
date | Sun, 07 Apr 2013 22:24:34 -0700 |
parents | 5d3a684236b0 |
children | e2de3c8882be |
comparison
equal
deleted
inserted
replaced
16465:e09e58e44c80 | 16466:ac332eb727dd |
---|