Skip to content

Instantly share code, notes, and snippets.

View concavegit's full-sized avatar
😀
Learning

Kawin Nikomborirak concavegit

😀
Learning
View GitHub Profile
import smu
def linspace(initial, final, n=100):
if n >= 2:
increment = (float(final) - float(initial))/(n - 1)
return [float(initial) + i*increment for i in range(n)]
else:
return []

Keybase proof

I hereby claim:

  • I am concavegit on github.
  • I am concavekey (https://keybase.io/concavekey) on keybase.
  • I have a public key ASDLP5Ni2soS3r7LcRfc9vBotMJLeQCOc81d2-8CAv40Bgo

To claim this, I am signing this object: