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

Function wrap

src/api/cpp/wrap.cpp:15–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13
14namespace af {
15array wrap(const array& in, const dim_t ox, const dim_t oy, const dim_t wx,
16 const dim_t wy, const dim_t sx, const dim_t sy, const dim_t px,
17 const dim_t py, const bool is_column) {
18 af_array out = 0;
19 AF_THROW(
20 af_wrap(&out, in.get(), ox, oy, wx, wy, sx, sy, px, py, is_column));
21 return array(out);
22}
23} // namespace af

Callers

nothing calls this directly

Calls 3

af_wrapFunction · 0.50
arrayClass · 0.50
getMethod · 0.45

Tested by

no test coverage detected