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

Function af_approx1_v2

src/api/c/approx.cpp:153–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153af_err af_approx1_v2(af_array *yo, const af_array yi, const af_array xo,
154 const af_interp_type method, const float offGrid) {
155 try {
156 ARG_ASSERT(0, yo != 0); // need to dereference yo in next call
157 af_approx1_common(yo, yi, xo, 0, 0.0, 1.0, method, offGrid, *yo == 0);
158 }
159 CATCHALL;
160
161 return AF_SUCCESS;
162}
163
164void af_approx2_common(af_array *zo, const af_array zi, const af_array xo,
165 const int xdim, const double xi_beg,

Callers 2

testSpclOutArrayMethod · 0.50
TEST_FFunction · 0.50

Calls 1

af_approx1_commonFunction · 0.85

Tested by

no test coverage detected