/src/main/java/net/finmath/singleswaprate/data/ErrorEstimation.java
max = Math.max( max, Math.abs( modelCashTenor[i] / marketPhysical[i] - 1) ) ;
max = Math.max ( max, Math.abs ( modelPhysical[i] / marketPhysical[i] - 1 ) ) ;
} return sum / marketPhysical.length; } public double getPhysicalMaxErrorPercent() { double max = 0; for(int i = 0; i < marketPhysical.length; i++) { <extra_id_0> } return max; } public double getCashAverageError(final int maturity, final int termination, final VolatilityCubeModel model) { if( (maturity != evaluatedMaturity) || (termination != evaluatedTermination) ) { evaluateTenor(maturity, termination, model);