LoginSignup
0
2

More than 5 years have passed since last update.

pythonで格子点を生成する

Posted at

今まで適当にやってたけど、
↓の記事を読んでやっと理解できました。

xx, yy = np.meshgrid(np.arange(0,10,0.5), np.arange(0,10,0.5))
np.c_[xx.ravel(), yy.ravel()]

参考
http://kaisk.hatenadiary.com/entry/2014/11/05/041011
http://d.hatena.ne.jp/odz/20070131/1170284561

0
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
2