My function is,
function Hwrkzw=kernel_168_1(kzw,r,z,z1,z2,z3,z4,L,C,gam)
.. some lines..
Hwrkzw=sinhc_fctr*bessl_fctr*AwkkbyC*exp(k*z4)*C;
endfunction;
and I try (the parameters z1,..,gam are all set up),
-->intc(0,1,list(kernel_168_1,0.2,0.042,z1,z2,z3,z4,L,C,gam))
!--error 21
invalid index
at line 2 of function called by :
at line 15 of function intc called by :
intc(0,1,list(kernel_168_1,0.2,0.042,z1,z2,z3,z4,L,C,gam))
-->
Replacing the limits by complex(0,0) and complex(1,0) does not help.
What am I doing wrong?
Yours sincerely
Stephen
Hi Stephen, you can't use a list as argument with the function intc.
Rainer