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

Function af_approx1_uniform_v2

src/api/c/approx.cpp:129–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129af_err af_approx1_uniform_v2(af_array *yo, const af_array yi, const af_array xo,
130 const int xdim, const double xi_beg,
131 const double xi_step, const af_interp_type method,
132 const float offGrid) {
133 try {
134 ARG_ASSERT(0, yo != 0); // need to dereference yo in next call
135 af_approx1_common(yo, yi, xo, xdim, xi_beg, xi_step, method, offGrid,
136 *yo == 0);
137 }
138 CATCHALL;
139
140 return AF_SUCCESS;
141}
142
143af_err af_approx1(af_array *yo, const af_array yi, const af_array xo,
144 const af_interp_type method, const float offGrid) {

Callers 2

TEST_FFunction · 0.50

Calls 1

af_approx1_commonFunction · 0.85

Tested by

no test coverage detected