Function tanimoto

  • Returns the Tanimoto distance between vectors p and q, and accepts the bitVector use, see the test case for an example

    Link

    Tanimoto algorithm

    Parameters

    • a: NumberArray

      first vector

    • b: NumberArray

      second vector

    • Optional bitvector: boolean

      bitVector

    Returns number