datapoint.java

来自「一个一元曲线多项式数值演示例子」· Java 代码 · 共 21 行

JAVA
21
字号
package numbercruncher.mathutils;

/**
 * A data point for interpolation and regression.
 */
public class DataPoint {
  /** the x value */
  public float x;
  /** the y value */
  public float y;

  /**
   * Constructor.
   * @param x the x value
   * @param y the y value
   */
  public DataPoint(float x, float y) {
    this.x = x;
    this.y = y;
  }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?