Function intermix

  • Place values of an array between another.

    Type Parameters

    • T

    Parameters

    • x: T[]

      an array

    • y: T[]

      another array

    • m: number = 1

      number of values from x [1]

    • n: number = 1

      number of values from y [1]

    • s: number = m

      step size for x [m]

    • t: number = n

      step size for y [n]

    Returns T[]

    x[0..m] ⧺ y[0..n] ⧺ x[s..s+m] ⧺ y[t..t+n] ⧺ ... ⧺ x[k*s..|x|-1] | k ∈ W

Generated using TypeDoc