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