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

Function af_approx2_uniform_v2

src/api/c/approx.cpp:257–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255}
256
257af_err af_approx2_uniform_v2(af_array *zo, const af_array zi, const af_array xo,
258 const int xdim, const double xi_beg,
259 const double xi_step, const af_array yo,
260 const int ydim, const double yi_beg,
261 const double yi_step, const af_interp_type method,
262 const float offGrid) {
263 try {
264 ARG_ASSERT(0, zo != 0); // need to dereference zo in next call
265 af_approx2_common(zo, zi, xo, xdim, xi_beg, xi_step, yo, ydim, yi_beg,
266 yi_step, method, offGrid, *zo == 0);
267 }
268 CATCHALL;
269
270 return AF_SUCCESS;
271}
272
273af_err af_approx2(af_array *zo, const af_array zi, const af_array xo,
274 const af_array yo, const af_interp_type method,

Callers 2

TEST_FFunction · 0.50

Calls 1

af_approx2_commonFunction · 0.85

Tested by

no test coverage detected