MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / select

Function select

src/api/cpp/data.cpp:291–295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

289}
290
291array select(const array &cond, const array &a, const array &b) {
292 af_array res;
293 AF_THROW(af_select(&res, cond.get(), a.get(), b.get()));
294 return array(res);
295}
296
297array select(const array &cond, const array &a, const double &b) {
298 af_array res;

Callers 11

TESTFunction · 0.50
TEST_PFunction · 0.50
selectTestFunction · 0.50
selectScalarTestFunction · 0.50
TESTFunction · 0.50
select.cppFile · 0.50
TEST_PFunction · 0.50
replaceFunction · 0.50
intersectMethod · 0.50
get_colorMethod · 0.50
generate_imageFunction · 0.50

Calls 9

af_selectFunction · 0.50
arrayClass · 0.50
af_select_scalar_rFunction · 0.50
af_select_scalar_lFunction · 0.50
af_select_scalar_r_longFunction · 0.50
af_select_scalar_r_ulongFunction · 0.50
af_select_scalar_l_longFunction · 0.50
af_select_scalar_l_ulongFunction · 0.50
getMethod · 0.45

Tested by

no test coverage detected