0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

NumPyのユニバーサル関数

0
Posted at

ユニバーサル関数とはndarray配列の各要素に対して演算した結果を返す関数のこと

引数が1つの関数

・要素の絶対値を返すnp.abs()
・要素の ee (自然対数の底)のべき乗を返すnp.exp()
・要素の平方根を返すnp.sqrt() など

引数が2つの関数

・要素同士の和を返すnp.add()
・要素同士の差を返すnp.subtract()
・要素同士の最大値を格納した配列を返すnp.maximum() など

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?