// Vector to hold the default barrier level for each obligor
double[] defaultBarrierLevel = new double[numberOfObligors];
// Construct a N(0, 1) distribution object (for calculating the default barrier level)
NormalDistribution normDist = new NormalDistribution(0.0, 1.0);
// Compute the default barrier level for each obligor
for (int i = 0; i < numberOfObligors; i++) {
final double defaultProbability = scenarioGenerator.getDefaultProbability()[i];
defaultBarrierLevel[i] = normDist.getInverseCDF(defaultProbability);
}
return defaultBarrierLevel;
}