libtrans.h 911 B

12345678910111213141516171819202122232425262728
  1. #ifndef __LIBTRANS_H__
  2. #define __LIBTRANS_H__
  3. /* to give the size of the multi-dim array parameter is necessary here,
  4. because DEC's cc V5.6-079 on Digital UNIX V4.0 (Rev. 878) seems to need it
  5. */
  6. #define DIM_matrix 3
  7. /* inverse.c */
  8. int inverse(double[DIM_matrix][DIM_matrix]);
  9. int isnull(double[DIM_matrix][DIM_matrix]);
  10. /* m_mult.c */
  11. int m_mult(double[DIM_matrix][DIM_matrix], double *, double *);
  12. /* transform.c */
  13. int compute_transformation_coef(double *, double *, double *, double *, int *,
  14. int);
  15. int transform_a_into_b(double, double, double *, double *);
  16. int transform_b_into_a(double, double, double *, double *);
  17. int residuals_a_predicts_b(double *, double *, double *, double *, int *, int,
  18. double *, double *);
  19. int residuals_b_predicts_a(double *, double *, double *, double *, int *, int,
  20. double *, double *);
  21. int print_transform_matrix(void);
  22. #endif /* __LIBTRANS_H__ */