Function xyWeightedMerge

  • Merge abscissas values on similar ordinates and weight the group of abscissas

    Parameters

    • data: DataXY<NumberArray>

      object containing 2 properties x and y

    • options: XYWeightedMergeOptions = {}

      options

    Returns DataXY<number[]>

    array of merged and weighted points