コンテンツにスキップ

NumPy

出典: フリー百科事典『ウィキペディア(Wikipedia)』
NumPy
作者 Travis Oliphant
開発元 コミュニティ開発
初版 1995年 (1995)
最新版 2.0.0[1] ウィキデータを編集 - 2024年6月16日 (23日前) [±]
リポジトリ ウィキデータを編集
プログラミング
言語
Python
対応OS クロスプラットフォーム
種別 数値計算
ライセンス 修正BSDライセンス
公式サイト numpy.org ウィキデータを編集
テンプレートを表示

NumPyPythonPython

沿[]


NumPyNumeric2005NumarrayNumericNumPyNumPy

NumPyPython 2.42.7  Python 3.1使2011PyPyNumPy APINumPyCython

[]


PythonPython使CJavaNumPyPython (numpy.ndarray) NumPyC (Fortran)PythonCNumPy BLAS API (OpenBLAS, ATLAS, Intel Math Kernel Library )使C[2] BLAS 使

NumPyAPINumPyNumexpr[3]

MATLAB []


PythonNumPyMATLABNumPyMATLAB使MATLABSimulinkNumPyMATLABPythonPythonNumPySciPyMATLABNumPyMatplotlibMATLABNumPyMATLABLAPACK API

[]


NumPymatplotlibPython
>>> import numpy
>>> from matplotlib import pyplot
>>> x = numpy.linspace(0, 2 * numpy.pi, 100)
>>> y = numpy.sin(x)
>>> pyplot.plot(x, y)
>>> pyplot.show()

不規則配列[編集]


: ragged array[4][5]NumPyshape[6]object[7]NumPy

脚注[編集]

  1. ^ https://numpy.org/doc/stable/release/2.0.0-notes.html.
  2. ^ SciPy PerformancePython”. 2009年9月28日閲覧。
  3. ^ pydata/numexpr - GitHub
  4. ^ "they sometimes err in matching the lengths of the nested sequences, commonly called 'ragged arrays'." NEP 34 — Disallow inferring dtype=object from sequences. NumPy.
  5. ^ "Ragged tensors are the TensorFlow equivalent of nested variable-length lists." Ragged tensors. TensorFlow Core.
  6. ^ "NumPy doesn’t support ragged arrays" Special types. h5py.
  7. ^ "will force users who actually wish to create object arrays to specify that explicitly." NEP 34 — Disallow inferring dtype=object from sequences. NumPy.

関連項目[編集]

脚注[編集]

  1. ^ JAX: Autograd and XLA”. 2020年11月19日閲覧。

外部リンク[編集]