/** * Copies source to dest. * * <p>Neither source nor dest can be null. * * @param source ThirdMoment to copy * @param dest ThirdMoment to copy to * @throws NullPointerException if either source or dest is null */ public static void copy(ThirdMoment source, ThirdMoment dest) { SecondMoment.copy(source, dest); dest.m3 = source.m3; dest.nDevSq = source.nDevSq; }