canMatchMoments

fun canMatchMoments(vararg moments: Double): Boolean

Return

true if n and p can be set to match te moments

Parameters

moments

the mean is in element 0 and the variance is in element 1, must not be null