#if defined(__cplusplus)
extern "C" { 
#endif

#include "motion_field.h"  

void make_ideal_field(vec_field *field, //vector field to build 
		      float Tx, float Ty, float Tz, //Translational Para 
		      float Z, //Z component
		      float Omx, float Omy, float Omz, //Rotational Para
		      float error1, float error2, float error3, //Errors 
		      float *average, //Average error of MF(=Motion Field)  
		      float *std_dev, //Standard deviation of M
		      float *mag_aver,
		      float *mag_std,
		      float *density, //Density of MF
		      float *outlier);
  double uni();
  
#if defined(__cplusplus)
}
#endif
