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

Function translate

src/api/cpp/translate.cpp:16–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14namespace af {
15
16array translate(const array& in, const float trans0, const float trans1,
17 const dim_t odim0, const dim_t odim1, const interpType method) {
18 af_array out = 0;
19 AF_THROW(
20 af_translate(&out, in.get(), trans0, trans1, odim0, odim1, method));
21 return array(out);
22}
23
24} // namespace af

Callers 1

mainFunction · 0.85

Calls 3

af_translateFunction · 0.50
arrayClass · 0.50
getMethod · 0.45

Tested by

no test coverage detected