今まで適当にやってたけど、
↓の記事を読んでやっと理解できました。
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
Go to list of users who liked
More than 5 years have passed since last update.
今まで適当にやってたけど、
↓の記事を読んでやっと理解できました。
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
Register as a new user and use Qiita more conveniently
Go to list of users who liked