What are the various functions available in numpy for processing the elements of one-dimensional arrays
Question: What are the various functions available in numpy for processing the elements of one-dimensional arrays ?
The various functions available in numpy to process the elements of one-dimensional arrays are :
- sin() - for finding the sine value of elements of the array
- cos() - for finding out the cosine value of elements of an array
- tan() - for obtaining tangent values of elements of an array
- sqrt() - used for obtaining the square root values of elements of an array
- pow() - used for obtaining the power values of elements of array
- min() - used to obtain the minimum values of elements from an array
- max() - used to obtain the maximum values of elements from an array
- sort() - used to sort the elements of the array in an ascending order
No comments:
Post a Comment