algebraic lens distortion
|
00001 /* ami_pol.c */ 00002 00003 #ifndef _AMI_POL_H_ 00004 #define _AMI_POL_H_ 00005 00006 #include <malloc.h> 00007 #include <math.h> 00008 00009 long double ami_horner(long double *pol,int degree,long double x,long double *fp); 00010 long double ami_root_bisection(long double *pol,int degree,long double a,long double b,long double TOL); 00011 int ami_polynomial_root(double *pol, int degree, double *root_r, double *root_i); 00012 00013 #endif