/src/main/java/net/finmath/singleswaprate/data/ErrorEstimation.java
final double y = Math.abs( marketCash[i] - modelCash[i]) - c;max = Math.max( max, Math.abs( marketCash[i] - modelCash[i]) ) ;
max = Math.max ( max, Math.abs ( marketCash[i] - modelCash[i] ) ) ;
} return sum / marketCash.length; } public double getCashMaxError() { double max = 0; for(int i = 0; i < marketCash.length; i++) { <extra_id_0> } return max; } public double getCashAverageErrorPercent() { double sum = 0; double c = 0;