code: @Override
  	public double[][] getHistogram(int numberOfPoints, double standardDeviations) {
  		double[] intervalPoints = new double[numberOfPoints];
  		double[] anchorPoints	= new double[numberOfPoints+1];
  		double center	= getAverage();
  		double radius	= standardDeviations * getStandardDeviation();
  		double stepSize	= (numberOfPoints-1) / 2.0;
  		for(int i=0; i<numberOfPoints;i++) {
  			double alpha = (-(double)(numberOfPoints-1) / 2.0 + i) / stepSize;
  			intervalPoints[i]	= center + alpha * radius;
  			anchorPoints[i]		= center + alpha * radius - radius / (2 * stepSize);
  		}
  		anchorPoints[numberOfPoints] = center + 1 * radius + radius / (2 * stepSize);
  
  		double[][] result = new double[2][];
  		result[0] = anchorPoints;
  		result[1] = getHistogram(intervalPoints);
  
  		return result;
  	}
docs: /* (non-Javadoc)
  @see net.finmath.stochastic.RandomVariableInterface#getHistogram(int,double)