Mercurial > octave
view test/fcn-handle/bug57941a.m @ 30949:7d99816e9709 stable
ls.m: Improve wording in docstring (bug #62282).
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Thu, 21 Apr 2022 17:52:31 +0200 |
parents | 23fe97205db5 |
children |
line wrap: on
line source
function [r1, r2] = bug57941a (A) fh1 = @nested1; function z = nested1 (x) z = A * x; end fh2 = @nested2; function z = nested2 (x,y) z = A * x .* y; end r1 = fh1 (3); r2 = fh2 (3, 4); end