Movatterモバイル変換


[0]ホーム

URL:


Skip to main content
Ctrl+K
JAX  documentation - Home

jax.numpy.iscomplex

Contents

jax.numpy.iscomplex#

jax.numpy.iscomplex(x)[source]#

Return boolean array showing where the input is complex.

JAX implementation ofnumpy.iscomplex().

Parameters:

x (ArrayLike) – Input array to check.

Returns:

A new array containing boolean values indicating complex elements.

Return type:

Array

Examples

>>>jnp.iscomplex(jnp.array([True,0,1,2j,1+2j]))Array([False, False, False, True, True], dtype=bool)
Contents

[8]ページ先頭

©2009-2025 Movatter.jp