Better documentation
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@5057 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
1dcdebbc9e
commit
bb6999b032
|
|
@ -342,7 +342,7 @@ public class MathUtils {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* normalizes the log10-based array
|
* normalizes the log10-based array. ASSUMES THAT ALL ARRAY ENTRIES ARE <= 0 (<= 1 IN REAL-SPACE).
|
||||||
*
|
*
|
||||||
* @param array the array to be normalized
|
* @param array the array to be normalized
|
||||||
* @param takeLog10OfOutput if true, the output will be transformed back into log10 units
|
* @param takeLog10OfOutput if true, the output will be transformed back into log10 units
|
||||||
|
|
@ -371,6 +371,13 @@ public class MathUtils {
|
||||||
return normalized;
|
return normalized;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* normalizes the log10-based array. ASSUMES THAT ALL ARRAY ENTRIES ARE <= 0 (<= 1 IN REAL-SPACE).
|
||||||
|
*
|
||||||
|
* @param array the array to be normalized
|
||||||
|
*
|
||||||
|
* @return a newly allocated array corresponding the normalized values in array
|
||||||
|
*/
|
||||||
public static double[] normalizeFromLog10(double[] array) {
|
public static double[] normalizeFromLog10(double[] array) {
|
||||||
return normalizeFromLog10(array, false);
|
return normalizeFromLog10(array, false);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue