array min (const array &x, const array &y)
 Minimum between x and y at every position. More...
 
array min (const double x, const array &y)
 Minimum between x and every element of y. More...
 

Detailed Description

Function Documentation

array af::min ( const array &  x,
const array &  y 
)

Minimum between x and y at every position.

Examples:
examples/getting_started/integer.cpp, and examples/machine_learning/kmeans.cpp.
array af::min ( const double  x,
const array &  y 
)

Minimum between x and every element of y.