ml-spectra-processing
    Preparing search index...

    Function xSubtract

    • This function xSubtract the first array by the second array or a constant value from each element of the first array

      Parameters

      • array1: NumberArray

        the array that will be rotated

      • array2: number | NumberArray

        second array or number

      Returns Float64Array

      array after subtraction