<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hello federico,</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">The empty page is improved in 6.1.0.
Please have a look to</div>
<div class="moz-cite-prefix"><a class="moz-txt-link-freetext" href="http://bugzilla.scilab.org/15431">http://bugzilla.scilab.org/15431</a></div>
<div class="moz-cite-prefix"><a class="moz-txt-link-freetext" href="http://bugzilla.scilab.org/attachment.cgi?id=4929">http://bugzilla.scilab.org/attachment.cgi?id=4929</a></div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Thanks<br>
Samuel<br>
<br>
</div>
<div class="moz-cite-prefix">Le 09/02/2020 à 04:27, Federico Miyara
a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:5f969cca-98fd-4f82-2cf0-eb451e2820b9@fceia.unr.edu.ar">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<font face="Courier New"><br>
Dear all,<br>
<br>
I note that sum([]) yields 0 instead of []. This is somewhat
contradictory with the documented behavior that [] + n yields []
regardless of the type of n<br>
<br>
I allso find that prod([]) yields 1. This is even stranger. The
common feature is that both are the respective neutral element
of the operations.<br>
<br>
Interestingly, cumsum and cumprod applied to [] yield the
expected result, []<br>
<br>
</font><font face="Courier New">Besides, type([]) is 1 (constant).
Somehow it is asuming an empty matrix is by default a container
for constants, even in csses such as the following:<br>
<br>
a = %s<br>
b = a(1:$-1) <br>
<br>
where b is an empty sub-vector of a polynomial vector.<br>
<br>
None of these behaviors seem to be documented. If intentional,
they should be documented.<br>
<br>
Regards,<br>
<br>
Federico Miyara<br>
</font> <br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<p><br>
</p>
</body>
</html>