Mercurial > octave
view test/fcn-handle/bug57941a.m @ 31225:3eab70385569
sparse-xpow.cc: Use faster multiplication technique, this time for complex
author | Arun Giridhar <arungiridhar@gmail.com> |
---|---|
date | Sun, 11 Sep 2022 13:53:38 -0400 |
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