Home
last modified time | relevance | path

Searched refs:klo (Results 1 – 1 of 1) sorted by relevance

/zscilib-3.4.0/src/
Dinterp.c327 int klo; /* Array index value for low point. */ in zsl_interp_cubic_arr() local
349 klo = pklo; in zsl_interp_cubic_arr()
353 klo = 0; in zsl_interp_cubic_arr()
355 while (khi - klo > 1) { in zsl_interp_cubic_arr()
358 k = (khi + klo) >> 1; in zsl_interp_cubic_arr()
371 klo = k; in zsl_interp_cubic_arr()
377 pklo = klo; in zsl_interp_cubic_arr()
381 h = xyc[khi].x - xyc[klo].x; in zsl_interp_cubic_arr()
390 b = (x - xyc[klo].x) / h; in zsl_interp_cubic_arr()
393 *y = a * xyc[klo].y + b * xyc[khi].y + in zsl_interp_cubic_arr()
[all …]