Class Util

java.lang.Object
it.unimi.dsi.law.Util

public final class Util
extends Object
A static container of utility methods for all LAW software.
  • Constructor Details

    • Util

      public Util()
  • Method Details

    • falling

      public static double falling​(int n, int k)
      Computes falling powers.
      Parameters:
      n - the base of the power.
      k - the falling power.
      Returns:
      n(n − 1)(n − 2)⋯(nk + 1).