Index: modules/math/statistics.man ================================================================== --- modules/math/statistics.man +++ modules/math/statistics.man @@ -621,12 +621,12 @@ [call [cmd ::math::statistics::wasserstein-distance] [arg prob1] [arg prob2]] Compute the Wasserstein distance or earth mover's distance for two equidstantly spaced histograms or probability densities. The histograms need not to be normalised to sum to one, but they must have the same number of entries. -[nl] -Note: the histograms are assumed to be based on the same equidistant intervals. + +[para] Note: the histograms are assumed to be based on the same equidistant intervals. As the bounds are not passed, the value is expressed in the length of the intervals. [list_begin arguments] [arg_def list prob1] List of values for the first histogram/probability density [arg_def list prob2] List of values for the second histogram/probability density @@ -634,15 +634,15 @@ [call [cmd ::math::statistics::kl-divergence] [arg prob1] [arg prob2]] Compute the Kullback-Leibler (KL) divergence for two equidstantly spaced histograms or probability densities. The histograms need not to be normalised to sum to one, but they must have the same number of entries. -[nl] -Note: the histograms are assumed to be based on the same equidistant intervals. + +[para] Note: the histograms are assumed to be based on the same equidistant intervals. As the bounds are not passed, the value is expressed in the length of the intervals. -[nl] -Note also that the KL divergence is not symmetric and that the second histogram + +[para] Note also that the KL divergence is not symmetric and that the second histogram should not contain zeroes in places where the first histogram has non-zero values. [list_begin arguments] [arg_def list prob1] List of values for the first histogram/probability density [arg_def list prob2] List of values for the second histogram/probability density