• Returns the value of the Kronecker delta function of two numbers (returns 1 if they're equal and 0 otherwise).

    Parameters

    • a: number

      First number

    • b: number

      Second number

    Returns 0 | 1

    Example

    const yes = Chalkboard.numb.Kronecker(1, 1); // Returns 1
    const no = Chalkboard.numb.Kronecker(1, 10); // Returns 0

Generated using TypeDoc