NumPy
NumPyは、プログラミング
![]() | |
Travis Oliphant | |
コミュニティ | |
1995 | |
2.0.0[1] ![]() | |
リポジトリ | |
プログラミング | Python |
クロスプラットフォーム | |
| |
ライセンス |
|
numpy |
沿革
NumPyの
NumPyは、Python 2.4から2.7 および Python 3.1
目的
Pythonはnumpy.ndarray
) と、その
MATLAB との比較
PythonとNumPyの
例
>>> import numpy
>>> from matplotlib import pyplot
>>> x = numpy.linspace(0, 2 * numpy.pi, 100)
>>> y = numpy.sin(x)
>>> pyplot.plot(x, y)
>>> pyplot.show()
不規則 配列
object
脚注
- ^ https://numpy.org/doc/stable/release/2.0.0-notes.html.
- ^ “SciPy PerformancePython”. 2009
年 9月 28日 閲覧 。 - ^ pydata/numexpr - GitHub
- ^ "they sometimes err in matching the lengths of the nested sequences, commonly called 'ragged arrays'." NEP 34 — Disallow inferring
dtype=object
from sequences. NumPy. - ^ "Ragged tensors are the TensorFlow equivalent of nested variable-length lists." Ragged tensors. TensorFlow Core.
- ^ "NumPy doesn’t support ragged arrays" Special types. h5py.
- ^ "will force users who actually wish to create
object
arrays to specify that explicitly." NEP 34 — Disallow inferringdtype=object
from sequences. NumPy.
関連 項目
数値 解析 ソフトウェア- SciPy - NumPyを
基盤 にした科学 計算 ライブラリ - matplotlib - NumPyを
基盤 にしたグラフ描画 ライブラリ - Pandas - データの
操作 や解析 のためのライブラリ - Sage -
幅広 い分野 を網羅 する数学 ソフトウェア - JAX – GPU および TPU
上 での NumPy プログラムの自動 微分 が可能 なライブラリ[1]
脚注
- ^ “JAX: Autograd and XLA”. 2020
年 11月19日 閲覧 。