![]() |
VOOZH | about |
sqrt(varr);Parameter: This function takes a mandatory parameter varr which represents valarray. Returns: This function returns a valarray containing the square root of all the elements of valarray. Below programs illustrate the above function: Example 1:-
The new valarray with manipulated values is : 2 4 5 6 7
The new valarray with manipulated values is : 2.23607 4 5.09902 6.08276 1