Mercurial > hg > octave-lyh
view test/fcn-handle-derived-resolution/@other/getsize_arrayfun.m @ 13193:a00ff5cedb9b
also look to parent classes for overloaded functions called through handles
* ov-fcn-handle.cc (octave_fcn_handle::do_multi_index_op):
Look for overloads in parent classes if none are found in the
immediate dispatch class.
* test/fcn-handle-derived-resolution: New directory for tests.
* test/Makefile.am: Include fcn-handle-derived-resolution/module.mk.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 22 Sep 2011 17:08:49 -0400 |
parents | |
children | b1283d4c06c2 |
line wrap: on
line source
function r = getsize_arrayfun (x) r = arrayfun (@(i) numel (x(i).d), 1:numel(x), 'uniformoutput', true); end