Movatterモバイル変換


[0]ホーム

URL:


SciPy

numpy.broadcast.iters

broadcast.iters

tuple of iterators alongself‘s “components.”

Returns a tuple ofnumpy.flatiter objects, one for each “component”ofself.

Examples

>>>x=np.array([1,2,3])>>>y=np.array([[4],[5],[6]])>>>b=np.broadcast(x,y)>>>row,col=b.iters>>>row.next(),col.next()(1, 4)

Previous topic

numpy.broadcast.index

Next topic

numpy.broadcast.shape

  • © Copyright 2008-2009, The Scipy community.
  • Last updated on Jun 10, 2017.
  • Created usingSphinx 1.5.3.

[8]ページ先頭

©2009-2025 Movatter.jp