Mercurial > hg > octave-lyh
view test/@Snork/end.m @ 10535:3f973f6c841c
improve sparse concatenation operator
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Tue, 20 Apr 2010 08:42:03 +0200 |
parents | f9ab19428cd8 |
children |
line wrap: on
line source
function r = end (snk, index_pos, num_indices) if (num_indices ~= 1) error ('Snork object may only have one index') end r = length (snk.cack); end