Movatterモバイル変換


[0]ホーム

URL:


SciPy

numpy.matrix.any

matrix.any(axis=None,out=None)[source]

Test whether any array element along a given axis evaluates to True.

Refer tonumpy.any for full documentation.

Parameters:

axis : int, optional

Axis along which logical OR is performed

out : ndarray, optional

Output to existing array instead of creating new one, must havesame shape as expected output

Returns:

any : bool, ndarray

Returns a single bool ifaxis isNone; otherwise,returnsndarray

Previous topic

numpy.matrix.all

Next topic

numpy.matrix.argmax

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

[8]ページ先頭

©2009-2025 Movatter.jp