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

Function af_transform_v2

src/api/c/transform.cpp:181–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179}
180
181af_err af_transform_v2(af_array *out, const af_array in, const af_array tf,
182 const dim_t odim0, const dim_t odim1,
183 const af_interp_type method, const bool inverse) {
184 try {
185 ARG_ASSERT(0, out != 0); // need to dereference out in next call
186 af_transform_common(out, in, tf, odim0, odim1, method, inverse,
187 *out == 0);
188 }
189 CATCHALL;
190
191 return AF_SUCCESS;
192}
193
194af_err af_translate(af_array *out, const af_array in, const float trans0,
195 const float trans1, const dim_t odim0, const dim_t odim1,

Callers 2

testSpclOutArrayMethod · 0.50
TEST_FFunction · 0.50

Calls 1

af_transform_commonFunction · 0.85

Tested by

no test coverage detected