org.apache.commons.math3.stat.descriptive.moment.Variance.copy()方法的使用及代码示例

x33g5p2x  于2022-02-01 转载在 其他  
字(3.7k)|赞(0)|评价(0)|浏览(128)

本文整理了Java中org.apache.commons.math3.stat.descriptive.moment.Variance.copy()方法的一些代码示例,展示了Variance.copy()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Variance.copy()方法的具体详情如下:
包路径:org.apache.commons.math3.stat.descriptive.moment.Variance
类名称:Variance
方法名:copy

Variance.copy介绍

暂无

代码示例

代码示例来源:origin: org.apache.commons/commons-math3

/**
 * Copy constructor, creates a new {@code Variance} identical
 * to the {@code original}
 *
 * @param original the {@code Variance} instance to copy
 * @throws NullArgumentException if original is null
 */
public Variance(Variance original) throws NullArgumentException {
  copy(original, this);
}

代码示例来源:origin: org.apache.commons/commons-math3

/**
 * {@inheritDoc}
 */
@Override
public Variance copy() {
  Variance result = new Variance();
  // No try-catch or advertised exception because parameters are guaranteed non-null
  copy(this, result);
  return result;
}

代码示例来源:origin: org.apache.commons/commons-math3

/**
 * 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 NullArgumentException if either source or dest is null
 */
public static void copy(StandardDeviation source, StandardDeviation dest)
  throws NullArgumentException {
  MathUtils.checkNotNull(source);
  MathUtils.checkNotNull(dest);
  dest.setData(source.getDataRef());
  dest.variance = source.variance.copy();
}

代码示例来源:origin: org.apache.commons/commons-math3

dest.variance = (Variance) dest.varianceImpl;
} else {
  Variance.copy(source.variance, dest.variance);

代码示例来源:origin: geogebra/geogebra

/**
 * Copy constructor, creates a new {@code Variance} identical
 * to the {@code original}
 *
 * @param original the {@code Variance} instance to copy
 * @throws NullArgumentException if original is null
 */
public Variance(Variance original) throws NullArgumentException {
  copy(original, this);
}

代码示例来源:origin: io.virtdata/virtdata-lib-realer

/**
 * Copy constructor, creates a new {@code Variance} identical
 * to the {@code original}
 *
 * @param original the {@code Variance} instance to copy
 * @throws NullArgumentException if original is null
 */
public Variance(Variance original) throws NullArgumentException {
  copy(original, this);
}

代码示例来源:origin: geogebra/geogebra

/**
 * {@inheritDoc}
 */
@Override
public Variance copy() {
  Variance result = new Variance();
  // No try-catch or advertised exception because parameters are guaranteed non-null
  copy(this, result);
  return result;
}

代码示例来源:origin: io.virtdata/virtdata-lib-realer

/**
 * {@inheritDoc}
 */
@Override
public Variance copy() {
  Variance result = new Variance();
  // No try-catch or advertised exception because parameters are guaranteed non-null
  copy(this, result);
  return result;
}

代码示例来源:origin: geogebra/geogebra

/**
 * 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 NullArgumentException if either source or dest is null
 */
public static void copy(StandardDeviation source, StandardDeviation dest)
  throws NullArgumentException {
  MathUtils.checkNotNull(source);
  MathUtils.checkNotNull(dest);
  dest.setData(source.getDataRef());
  dest.variance = source.variance.copy();
}

代码示例来源:origin: io.virtdata/virtdata-lib-realer

/**
 * 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 NullArgumentException if either source or dest is null
 */
public static void copy(StandardDeviation source, StandardDeviation dest)
  throws NullArgumentException {
  MathUtils.checkNotNull(source);
  MathUtils.checkNotNull(dest);
  dest.setData(source.getDataRef());
  dest.variance = source.variance.copy();
}

代码示例来源:origin: geogebra/geogebra

dest.variance = (Variance) dest.varianceImpl;
} else {
  Variance.copy(source.variance, dest.variance);

代码示例来源:origin: io.virtdata/virtdata-lib-realer

dest.variance = (Variance) dest.varianceImpl;
} else {
  Variance.copy(source.variance, dest.variance);

相关文章