e70152e44cc66cc599ff6b699eb8adc07f3e656a kent Sat May 24 21:09:34 2014 -0700 Adding Copyright NNNN Regents of the University of California to all files I believe with reasonable certainty were developed under UCSC employ or as part of Genome Browser copyright assignment. diff --git src/lib/histogram.c src/lib/histogram.c index 0da3f19..7da7679 100644 --- src/lib/histogram.c +++ src/lib/histogram.c @@ -1,17 +1,20 @@ /* histogram function for data array in memory */ +/* Copyright (C) 2011 The Regents of the University of California + * See README in this or parent directory for licensing information. */ + #include "common.h" #include "histogram.h" static unsigned autoScale(float *values, size_t N, float *binSize, unsigned *binCount, float *minValue, float *min, float *max) /* determine binSize, binCount, minValue for values[N] * If any of those are given, use them instead of calculating. * A given minValue means ignore data below that. * NAN's for binSize or minValue are the signals to not use them. * non-zero for binCount to use it. NOTE: binCount is actually one * too high to get the minimum and maximum values in the first and * last (binCount-1) bins correctly. */ {