NAME

apply_lut_inverse - For now, we don't assume anything about the LUT, so we cannot even do

SYNOPSIS

#include "m/m_lut.h"

Example compile flags (system dependent):
  -DLINUX_X86_64 -DLINUX_X86_64_OPTERON  -DGNU_COMPILER 
   -I/home/kobus/include
   -L/home/kobus/misc/load/linux_x86_64_opteron -L/usr/lib/x86_64-linux-gnu
  -lKJB                               -lfftw3  -lgsl -lgslcblas -ljpeg  -lSVM -lstdc++                    -lpthread -lSLATEC -lg2c    -lacml -lacml_mv -lblas -lg2c      -lncursesw 


int apply_lut_inverse
(
	const Lut *lut_ptr,
	double y,
	double *x_ptr
);

DESCRIPTION

interpolation. Perhaps different kinds of LUT's are in order? THIS ROUTINE MAKES NO SENSE IF THE LUT IS NOT MONTONIC!

SEE ALSO

create_lut , free_lut , get_target_lut , copy_lut , convert_lut , read_lut_from_config_file , read_lut , fp_read_lut , write_lut , fp_write_lut