I THINK ∴ I'M DANGEROUS

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
n-depth_mean_compare [2016/03/07 18:18]
zashi
n-depth_mean_compare [2016/03/22 20:08]
zashi
Line 1: Line 1:
-{{tag>​software C}}+{{tag>​software C useful}}
 ====== n-Depth Mean Compare ====== ====== n-Depth Mean Compare ======
  
Line 42: 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);