Skip to content

Instantly share code, notes, and snippets.

@IndhumathyChelliah
Created July 18, 2020 03:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save IndhumathyChelliah/8b9df15661d3a6e445e7eda0324e74ad to your computer and use it in GitHub Desktop.
Save IndhumathyChelliah/8b9df15661d3a6e445e7eda0324e74ad to your computer and use it in GitHub Desktop.
import numpy as np
a=np.linspace(1,10,num=6,endpoint=False,retstep=True)
print (a)#Output:(array([1. , 2.5, 4. , 5.5, 7. , 8.5]), 1.5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment