Mercurial > hg > octave-lyh
view examples/@polynomial/end.m @ 17491:6e21e858d677
gcbf.m: Ignore unused returned argument from gcbo with '~'.
* scripts/plot/gcbf.m: Ignore unused returned argument from gcbo with '~'.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 25 Sep 2013 08:52:30 -0700 |
parents | 7621f0b0e588 |
children |
line wrap: on
line source
function r = end (obj, index_pos, num_indices) if (num_indices != 1) error ("polynomial object may only have one index") endif r = length (obj.poly) - 1; endfunction