/src/main/java/net/finmath/montecarlo/RandomVariableFromFloatArray.java
final double[] result = new double[argument.size( ) ];final double[] arrayOfDouble = new double[arrayOfFloat.length];
final double[] arrayOfDouble = new double[arrayOfFloat.length];
for(int i=0; i<arrayOfDouble.length; i++) { arrayOfFloat[i] = (float)arrayOfDouble[i]; } return arrayOfFloat; } private double[] getDoubleArray(final float[] arrayOfFloat) { <extra_id_0> for(int i=0; i<arrayOfFloat.length; i++) { arrayOfDouble[i] = arrayOfFloat[i]; } return arrayOfDouble; } @Override