Page 1 of 1

What is the use of sum() function in Valarray?

Posted: Wed Jul 13, 2022 7:53 pm
by answerhappygod
a) Applies the manipulation provided to all the elements of the array
b) Returns the summation of all elements of Valarray
c) Returns new array after shifting elements by the given number
d) Returns new array after circular shifting elements by the given number