Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Binomial (0.06 sec)

  1. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

            assertEquals(expected, BigIntegerMath.binomial(n, k));
          }
        }
      }
    
      public void testBinomialOutside() {
        for (int i = 0; i <= 50; i++) {
          int n = i;
          assertThrows(IllegalArgumentException.class, () -> BigIntegerMath.binomial(n, -1));
          assertThrows(IllegalArgumentException.class, () -> BigIntegerMath.binomial(n, n + 1));
        }
      }
    
      @J2ktIncompatible
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Nov 19 01:35:24 UTC 2025
    - 27.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/math/LongMath.java

      };
    
      /**
       * Returns {@code n} choose {@code k}, also known as the binomial coefficient of {@code n} and
       * {@code k}, or {@link Long#MAX_VALUE} if the result does not fit in a {@code long}.
       *
       * @throws IllegalArgumentException if {@code n < 0}, {@code k < 0}, or {@code k > n}
       */
      public static long binomial(int n, int k) {
        checkNonNegative("n", n);
        checkNonNegative("k", k);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 03 21:01:09 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  3. RELEASE.md

        *   Add a new "result_type" parameter to `tf.strings.split`.
        *   Add name argument to `tf.string_split` and `tf.strings_split`.
        *   Extend `tf.strings.split` to support inputs with any rank.
        *   Added `tf.random.binomial`.
        *   Added `key` and `skip` methods to `random.experimental.Generator`.
        *   Extend `tf.function` with basic support for CompositeTensors arguments
            (such as `SparseTensor` and `RaggedTensor`).
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Tue Oct 28 22:27:41 UTC 2025
    - 740.4K bytes
    - Viewed (3)
Back to top