23 double delta=double(max-min)/nbin;
24 for (
int i=mmin;i<=mmax;i++)
26 int j= int((v(i)-min)/delta)+1;
Vector of double precision numbers.
int indexmin() const
Get minimum valid index.
Array of integers(int) with indexes from index_min to indexmax.
int indexmax() const
Get maximum valid index.
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
ivector histogram(double min, double max, int nbin, const dvector &input)
Description not yet available.
void initialize(void)
Description not yet available.