<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hello Paul,<br>
<br>
The loop<br>
<br>
Le 11/12/2017 à 11:53, Carrico, Paul a écrit :<br>
</div>
<blockquote
cite="mid:3A6B7233274DB449A2A0053A47684F953F8B0D8A@BGS-EX01.auxitrol.ad"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Monospaced;
panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
pre
{mso-style-priority:99;
mso-style-link:"Pr\00E9format\00E9 HTML Car";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.PrformatHTMLCar
{mso-style-name:"Pr\00E9format\00E9 HTML Car";
mso-style-priority:99;
mso-style-link:"Pr\00E9format\00E9 HTML";
font-family:"Courier New";
mso-fareast-language:FR;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1"><span
style="font-family:"Monospaced","serif";color:#A020F0;mso-fareast-language:FR"
lang="EN-US">...<br>
for</span><span
style="font-family:"Monospaced","serif";mso-fareast-language:FR"
lang="EN-US">
<span style="color:black">i</span> <span
style="color:#5C5C5C">=</span> <span
style="color:rosybrown">
1</span> <span style="color:#FFAA00">:</span> <span
style="color:black">n</span><o:p></o:p></span>
<p class="MsoNormal"><span
style="font-family:"Monospaced","serif";mso-fareast-language:FR"
lang="EN-US">
<span style="color:black">Numl_Gamma_derrivative</span><span
style="color:#4A55DB">(</span><span
style="color:rosybrown">2</span><span style="color:black">,i</span><span
style="color:#4A55DB">)</span>
<span style="color:#5C5C5C">=</span> <u><span
style="color:#AE5CB0">numderivative</span></u><span
style="color:#4A55DB">(</span><u><span style="color:black">Gamma_function</span></u><span
style="color:black">,</span> <span style="color:black">Numl_Gamma_derrivative</span><span
style="color:#4A55DB">(</span><span
style="color:rosybrown">1</span><span style="color:black">,i</span><span
style="color:#4A55DB">)</span><span style="color:black">,</span><span
style="color:rosybrown">1e-3</span><span
style="color:black">,order</span><span
style="color:#5C5C5C">=</span><span
style="color:rosybrown">4</span><span
style="color:#4A55DB">)</span><span style="color:black">;</span><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-family:"Monospaced","serif";color:#A020F0;mso-fareast-language:FR"
lang="EN-US">end</span><span
style="font-family:"Monospaced","serif";mso-fareast-language:FR"
lang="EN-US"><o:p></o:p></span></p>
</div>
</blockquote>
<br>
could be avoided by vectorizing numderivative().<br>
There was a previous recent thread about this, started by Hermes.<br>
<br>
If you deem that vectorizing numderivative() would be preferable,<br>
could you please report this wish on Bugzilla?<br>
Then, it could be implemented for Scilab 6.1, provided that there
will be<br>
a 6.0.2 release for obsoleting the usage of the x input as a row:<br>
Please see <a class="moz-txt-link-freetext" href="http://bugzilla.scilab.org/show_bug.cgi?id=14440#c7">http://bugzilla.scilab.org/show_bug.cgi?id=14440#c7</a><br>
<br>
Regards<br>
Samuel<br>
<br>
<br>
<br>
</body>
</html>