misc_math.h 274 B

123456789101112131415
  1. #ifndef MISC_MATH_H
  2. #define MISC_MATH_H
  3. #include "matrix.h"
  4. #define PI 3.14159
  5. extern int double_eq(double f1, double f2);
  6. extern MAT * gradient_x(MAT * input);
  7. extern MAT * gradient_y(MAT * input);
  8. extern double mean(VEC * in);
  9. extern double std_dev(VEC * in);
  10. #endif