DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
numpy linspace
np.linspace(0, 10, 5) # evenly-spaced 5 numbers in [0, 10] # [ 0. , 2.5, 5. , 7.5, 10. ]
Source by numpy.org #
PREVIOUS
NEXT
Tagged:
#numpy
#linspace
ADD COMMENT
Topic
COMMENT
Name
2+9 =
Submit