Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
n-depth_mean_compare [2015/09/05 13:51] zashi [Reference Implementation] |
n-depth_mean_compare [2016/03/22 20:08] zashi |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{tag>software C useful}} | ||
====== n-Depth Mean Compare ====== | ====== n-Depth Mean Compare ====== | ||
Line 41: | Line 42: | ||
#include <stdlib.h> | #include <stdlib.h> | ||
#include <math.h> | #include <math.h> | ||
+ | |||
+ | #define nmc_max(s1,s1len,s2,s2len) (nmc((s1len < s2len)?s1len:s2len, s1, s1len, s2, s2len)) | ||
double nmc_mean (double *l, unsigned int len); | double nmc_mean (double *l, unsigned int len); |