Skip to content

Instantly share code, notes, and snippets.

@csharpforevermore
Created June 16, 2018 14:22
Show Gist options
  • Save csharpforevermore/412274e7db5040ddeba41afe3d8c6ab7 to your computer and use it in GitHub Desktop.
Save csharpforevermore/412274e7db5040ddeba41afe3d8c6ab7 to your computer and use it in GitHub Desktop.
Python 3 - linspace function example
# np.linspace(start, stop, num)
np.linspace(2.0, 3.0, num=5)
array([ 2.0, 2.25, 2.5, 2.75, 3.0])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment