Contents

index(before:)

Returns the index immediately before an element index.

Declaration

func index(before i: Int) -> Int

Parameters

  • i:

    A valid index to an element in the classification distribution.

See Also

Getting the index