A library for calculating the maximum value of a two-dimensional array.

1. Functions

1.1. max

  function max(
    uint256[][] self
  ) internal returns (uint256 index1, uint256 index2, uint256 value)

Take the maximum value and index in a two-dimensional array

Parameters:

Name Type Description
self uint256[][] Two-dimensional array

Return Values:

Name Type Description
index1 uint256 One-dimensional index
index2 uint256 Two-dimensional index
value uint256 Maximum value
Copyright © hotpot fund 2021 all right reserved,powered by GitbookUpdated At: 2021-12-28 10:33:50

results matching ""

    No results matching ""