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