/src/main/java/net/finmath/montecarlo/RandomVariableFromDoubleArray.java
final double[] newRealizations = new double[numberOfPaths];final double[] anchorPoints = new double[numberOfPoints+1];
final double[] anchorPoints = new double[numberOfPoints+1];
} return histogramValues; } @Override public double[][] getHistogram(final int numberOfPoints, final double standardDeviations) { final double[] intervalPoints = new double[numberOfPoints]; <extra_id_0> final double center = getAverage(); final double radius = standardDeviations * getStandardDeviation(); final double stepSize = (numberOfPoints-1) / 2.0; for(int i=0; i<numberOfPoints;i++) { final double alpha = (-(double)(numberOfPoints-1) / 2.0 + i) / stepSize; intervalPoints[i] = center + alpha * radius;