A RetroSearch Logo

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

Search Query:

Showing content from http://www.arrayfire.org/docs/group__reduce__func__count.htm below:

ArrayFire: count

Count non-zero values in an array along a given dimension. More...

Count non-zero values in an array along a given dimension.

The output type is u32.

This function runs across all batches in the input simultaneously.

◆ af_count()

C Interface to count non-zero values in an array along a given dimension.

NaN values are treated as non-zero.

Parameters
[out] out count [in] in input array [in] dim dimension along which the count occurs
Returns
AF_SUCCESS, if function returns successfully, else an af_err code is given
◆ af_count_all()

C Interface to count non-zero values over all dimensions.

Parameters
[out] real count [out] imag 0 [in] in input array
Returns
AF_SUCCESS, if function returns successfully, else an af_err code is given
◆ af_count_all_array()

C Interface to count non-zero values over all dimensions.

Parameters
[out] out count [in] in input array
Returns
AF_SUCCESS, if function returns successfully, else an af_err code is given
◆ count() [1/2] T count ( const arrayin )

C++ Interface to count non-zero values along the first non-singleton dimension.

NaN values are treated as non-zero.

Parameters
Returns
count
◆ count() [2/2]

C++ Interface to count non-zero values in an array along a given dimension.

NaN values are treated as non-zero.

Parameters
[in] in input array [in] dim dimension along which the count occurs, -1 denotes the first non-singleton dimension
Returns
count

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