A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://arrayfire.org/docs/group__scan__func__where.htm below:

ArrayFire: where

Locate the indices of the non-zero values in an array. More...

Locate the indices of the non-zero values in an array.

Output type is u32.

The locations are provided by flattening the input into a linear array.

◆ af_where()

C Interface to locate the indices of the non-zero values in an array.

Parameters
[out] idx linear indices where in is non-zero [in] in input array
Returns
AF_SUCCESS, if function returns successfully, else an af_err code is given
◆ where()

C++ Interface to locate the indices of the non-zero values in an array.

Parameters
Returns
linear indices where in is non-zero

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4