Mercurial > octave
view test/bug-61105/nested_test_2.m @ 31231:a026fb2be108
sparse-xpow.cc: Return empty matrix for empty input (bug #63080)
author | Arun Giridhar <arungiridhar@gmail.com> |
---|---|
date | Mon, 19 Sep 2022 07:05:31 -0400 |
parents | 55eeb7f0850b |
children |
line wrap: on
line source
function r = nested_test_2 () a = 3; b = 5; c = 7; f1 = @(f, x) f(x) + a; f2 = @(y) f1 (@(z) z^2 + b*y, y) + c; r = f2 (2); endfunction