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

Function replace

src/api/cpp/data.cpp:309–311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

307}
308
309void replace(array &a, const array &cond, const array &b) {
310 AF_THROW(af_replace(a.get(), cond.get(), b.get()));
311}
312
313void replace(array &a, const array &cond, const double &b) {
314 AF_THROW(af_replace_scalar(a.get(), cond.get(), b));

Callers 11

TESTFunction · 0.50
replaceTestFunction · 0.50
replaceScalarTestFunction · 0.50
TESTFunction · 0.50
replace.cppFile · 0.50
binary.cppFile · 0.50
getKernelCacheFilenameFunction · 0.50
collide_streamFunction · 0.50
generate_imageFunction · 0.50
get_colorMethod · 0.50
generate_imageFunction · 0.50

Calls 5

af_replaceFunction · 0.50
af_replace_scalarFunction · 0.50
af_replace_scalar_longFunction · 0.50
af_replace_scalar_ulongFunction · 0.50
getMethod · 0.45

Tested by

no test coverage detected