Minimum of two inputs. More...

Functions

AFAPI af_err af_minof (af_array *out, const af_array lhs, const af_array rhs, const bool batch)
 C Interface for min of two arrays. More...
 
AFAPI array min (const array &lhs, const array &rhs)
 C++ interface for min of two arrays. More...
 
AFAPI array min (const array &lhs, const double rhs)
 C++ interface for min of two arrays. More...
 
AFAPI array min (const double lhs, const array &rhs)
 C++ interface for min of two arrays. More...
 

Detailed Description

Minimum of two inputs.

Function Documentation

AFAPI af_err af_minof ( af_array out,
const af_array  lhs,
const af_array  rhs,
const bool  batch 
)

C Interface for min of two arrays.

Parameters
[out]outwill contain minimum of lhs and rhs
[in]lhsfirst input
[in]rhssecond input
[in]batchspecifies if operations need to be performed in batch mode
Returns
AF_SUCCESS if the execution completes properly
AFAPI array af::min ( const array lhs,
const array rhs 
)

C++ interface for min of two arrays.

Parameters
[in]lhsfirst input
[in]rhssecond input
Returns
minimum of lhs and rhs
AFAPI array af::min ( const array lhs,
const double  rhs 
)

C++ interface for min of two arrays.

Parameters
[in]lhsfirst input
[in]rhssecond input
Returns
minimum of lhs and rhs
AFAPI array af::min ( const double  lhs,
const array rhs 
)

C++ interface for min of two arrays.

Parameters
[in]lhsfirst input
[in]rhssecond input
Returns
minimum of lhs and rhs