help-octave
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
problem failure file
From
:
Robert Setif
Subject
:
problem failure file
Date
:
Thu, 21 Feb 2019 10:16:03 +0100
Good morning.
Here is that file with a problem I do not understand.
# dfac.m 21/2/2019 double factorial
function r=dfac(n)
f=1;
if (n=0)
r=1;
elseif (mod(n,2)=0)
for i=n:-2:2,f=f*i;,endfor
else
for i=1:2:n,f=f*i;,endfor
endif
r=f;
endfunction
Thank you very much.
Best regards
address@hidden
FRANCE
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
problem failure file
,
Robert Setif
<=
Re: problem failure file
,
fibonacci4
,
2019/02/21
Re: problem failure file
,
Francesco Potortì
,
2019/02/21
Re: problem failure file
,
Markus Mützel
,
2019/02/21
Message not available
Message not available
Message not available
Re: problem failure file
,
Markus Mützel
,
2019/02/23
Prev by Date:
Bisection-Octave
Next by Date:
Re: problem failure file
Previous by thread:
Bisection-Octave
Next by thread:
Re: problem failure file
Index(es):
Date
Thread