<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Le 11/02/2020 à 02:37, Federico Miyara
a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:4ecf33be-890c-3a5d-0e0f-33602448a319@fceia.unr.edu.ar">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<br>
<font face="Courier New">.../...<br>
But is there a rationale for sum([])==0 and yet cumsum([])==[]?<br>
</font></blockquote>
<p><br>
</p>
<p><font face="Courier New">We expect a scalar from </font><font
face="Courier New">sum([]), while from </font><font
face="Courier New"><font face="Courier New">cumsum([]) </font>we
expect an array with the same size than the input array.</font></p>
<br>
</body>
</html>