Mercurial > hg > octave-lyh
view examples/@polynomial/end.m @ 17527:9ba1658843db
Fully int32 type support
author | LYH <lyh.kernel@gmail.com> |
---|---|
date | Fri, 27 Sep 2013 05:00:42 +0800 |
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