/usr/lib/grass64/include/grass/libtrans.h is in grass-dev 6.4.3-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | #ifndef __LIBTRANS_H__
#define __LIBTRANS_H__
/* to give the size of the multi-dim array parameter is necessary here,
because DEC's cc V5.6-079 on Digital UNIX V4.0 (Rev. 878) seems to need it
*/
#define DIM_matrix 3
/* inverse.c */
int inverse(double[DIM_matrix][DIM_matrix]);
int isnull(double[DIM_matrix][DIM_matrix]);
/* m_mult.c */
int m_mult(double[DIM_matrix][DIM_matrix], double *, double *);
/* transform.c */
int compute_transformation_coef(double *, double *, double *, double *, int *,
int);
int transform_a_into_b(double, double, double *, double *);
int transform_b_into_a(double, double, double *, double *);
int residuals_a_predicts_b(double *, double *, double *, double *, int *, int,
double *, double *);
int residuals_b_predicts_a(double *, double *, double *, double *, int *, int,
double *, double *);
int print_transform_matrix(void);
#endif /* __LIBTRANS_H__ */
|