Mercurial > hg > octave-nkf
view examples/@polynomial/end.m @ 18691:336e64e9e6e3 draft
Fully int8 type support
author | LYH <lyh.kernel@gmail.com> |
---|---|
date | Fri, 21 Mar 2014 14:59:39 -0400 |
parents | 7621f0b0e588 |
children | 446c46af4b42 |
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