A RetroSearch Logo

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

Search Query:

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

ArrayFire: anytrue

Check if any values along a given dimension are true. More...

Check if any values along a given dimension are true.

The output type is b8.

This function runs across all batches in the input simultaneously.

◆ af_any_true()

C Interface to check if any values along a given dimension are true.

NaN values are ignored.

Parameters
[out] out array containing 1's if any true; 0's otherwise [in] in input array [in] dim dimension along which the check occurs
Returns
AF_SUCCESS, if function returns successfully, else an af_err code is given
◆ af_any_true_all()

C Interface to check if any values over all dimensions are true.

Parameters
[out] real 1 if any true; 0 otherwise [out] imag 0 [in] in input array
Returns
AF_SUCCESS, if function returns successfully, else an af_err code is given
◆ af_any_true_all_array()

C Interface to check if any values over all dimensions are true.

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

C++ Interface to check if any values along the first non-singleton dimension are true.

NaN values are ignored.

Parameters
Returns
array containing 1's if any true; 0's otherwise
◆ anytrue() [1/2] T anytrue ( const arrayin )

C++ Interface to check if all values along the first non-singleton dimension are true.

NaN values are ignored.

Parameters
Returns
array containing 1's if all true; 0's otherwise
Deprecated:
Use af::anyTrue(const array&) instead
◆ anyTrue() [2/2]

C++ Interface to check if any values along a given dimension are true.

NaN values are ignored.

Parameters
[in] in input array [in] dim dimension along which the check occurs, -1 denotes the first non-singleton dimension
Returns
array containing 1's if any true; 0's otherwise
◆ anytrue() [2/2]

C++ Interface to check if any values along a given dimension are true.

NaN values are ignored.

Parameters
[in] in input array [in] dim dimension along which the check occurs, -1 denotes the first non-singleton dimension
Returns
array containing 1's if any true; 0's otherwise
Deprecated:
Use af::anyTrue instead

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