Samuel:

Sounds reasonable!

Thanks,

Federico


On 11/02/2020 07:13, Samuel Gougeon wrote:
Le 11/02/2020 à 02:37, Federico Miyara a écrit :

.../...
But is there a rationale for sum([])==0 and yet cumsum([])==[]?


We expect a scalar from sum([]), while from cumsum([]) we expect an array with the same size than the input array.



_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to