HAZE
haze is a drop-in replacement to process water vapor to be used with FORCE
Loading...
Searching...
No Matches
math-utils.h
1#ifndef MATH_UTILS_H
2#define MATH_UTILS_H
15
16#include <stdlib.h>
17
27double kgsqmTocow(double x);
28
44double calculateWeightedAverage(const double *values, const double *weights, size_t count);
45
53int intcmp(const void *a, const void *b);
54 // end of group
56#endif // MATH_UTILS_H
int intcmp(const void *a, const void *b)
Callback function for qsort to compare integers.
double calculateWeightedAverage(const double *values, const double *weights, size_t count)
Compute the weighted average.
double kgsqmTocow(double x)
Compute water column height.