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

Function scale

src/api/cpp/scale.cpp:16–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

af_scaleFunction · 0.50
arrayClass · 0.50
getMethod · 0.45

Tested by

no test coverage detected