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