Movatterモバイル変換


[0]ホーム

URL:


SciPy

numpy.recarray.base

recarray.base

Base object if memory is from some other object.

Examples

The base of an array that owns its memory is None:

>>>x=np.array([1,2,3,4])>>>x.baseisNoneTrue

Slicing creates a view, whose memory is shared with x:

>>>y=x[2:]>>>y.baseisxTrue

Previous topic

numpy.recarray.T

Next topic

numpy.recarray.ctypes

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

[8]ページ先頭

©2009-2025 Movatter.jp