/* * File: rt_lookflat1evnczf.c generated from file * gentablefuncs, Revision: 1.7.4.6 * * Copyright 1994-2003 The MathWorks, Inc. * * * Abstract: * 1-D table look-up * operating on real32_T with: * * - Flat table look-up * - Clipping * - Evenly-spaced breakpoints * - Index search starts at the same place each time */ #include "rtlooksrc.h" real32_T rt_LookFlat1EvnCZf(const real32_T u, const real32_T * const bpData, const real32_T * const tableData, const int_T maxIndex) { real32_T lambda; int_T bpIndex = maxIndex >> 1; bpIndex = rt_PLookEvnCf(u, &lambda, bpData, maxIndex); return(rt_Intrp1Flatf(bpIndex, lambda, tableData)); } /* [EOF] rt_lookflat1evnczf.c */