Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 40 for Sqrt (0.03 seconds)

  1. android/guava/src/com/google/common/collect/Maps.java

       *
       * {@snippet :
       * Map<String, Integer> map = ImmutableMap.of("a", 4, "b", 9);
       * Function<Integer, Double> sqrt = (Integer in) -> Math.sqrt((int) in);
       * Map<String, Double> transformed = Maps.transformValues(map, sqrt);
       * System.out.println(transformed);
       * }
       *
       * ... prints {@code {a=2.0, b=3.0}}.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 157.6K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/Maps.java

       *
       * {@snippet :
       * Map<String, Integer> map = ImmutableMap.of("a", 4, "b", 9);
       * Function<Integer, Double> sqrt = (Integer in) -> Math.sqrt((int) in);
       * Map<String, Double> transformed = Maps.transformValues(map, sqrt);
       * System.out.println(transformed);
       * }
       *
       * ... prints {@code {a=2.0, b=3.0}}.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 163.4K bytes
    - Click Count (0)
  3. api/go1.8.txt

    pkg go/doc, func IsPredeclared(string) bool
    pkg go/types, func Default(Type) Type
    pkg go/types, func IdenticalIgnoreTags(Type, Type) bool
    pkg math/big, method (*Float) Scan(fmt.ScanState, int32) error
    pkg math/big, method (*Int) Sqrt(*Int) *Int
    pkg math/rand, func Uint64() uint64
    pkg math/rand, method (*Rand) Uint64() uint64
    pkg math/rand, type Source64 interface, Int63() int64
    pkg math/rand, type Source64 interface { Int63, Seed, Uint64 }
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Dec 21 05:25:57 GMT 2016
    - 16.3K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/math/DoubleMath.java

          case UP:
            increment = exponent >= 0 & !isPowerOfTwo(x);
            break;
          case HALF_DOWN:
          case HALF_EVEN:
          case HALF_UP:
            double xScaled = scaleNormalize(x);
            // sqrt(2) is irrational, and the spec is relative to the "exact numerical result,"
            // so log2(x) is never exactly exponent + 0.5.
            increment = (xScaled * xScaled) > 2.0;
            break;
          default:
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/ImmutableSet.java

    import static com.google.common.collect.CollectPreconditions.checkNonnegative;
    import static com.google.common.collect.ImmutableList.asImmutableList;
    import static com.google.common.math.IntMath.sqrt;
    import static java.lang.Math.max;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Nov 07 16:09:47 GMT 2025
    - 35.3K bytes
    - Click Count (0)
  6. api/go1.10.txt

    pkg math, func Erfcinv(float64) float64
    pkg math, func Erfinv(float64) float64
    pkg math, func Round(float64) float64
    pkg math, func RoundToEven(float64) float64
    pkg math/big, const MaxBase = 62
    pkg math/big, method (*Float) Sqrt(*Float) *Float
    pkg math/big, method (*Int) CmpAbs(*Int) int
    pkg math/rand, func Shuffle(int, func(int, int))
    pkg math/rand, method (*Rand) Shuffle(int, func(int, int))
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Feb 06 05:00:01 GMT 2018
    - 30.1K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/Multimaps.java

       *
       * {@snippet :
       * ListMultimap<String, Integer> multimap = ImmutableListMultimap.of("a", 4, "a", 16, "b", 9);
       * Function<Integer, Double> sqrt = (Integer in) -> Math.sqrt((int) in);
       * ListMultimap<String, Double> transformed = Multimaps.transformValues(multimap, sqrt);
       * System.out.println(transformed);
       * }
       *
       * ... prints {@code {a=[2.0, 4.0], b=[3.0]}}.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 86K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/Multimaps.java

       *
       * {@snippet :
       * ListMultimap<String, Integer> multimap = ImmutableListMultimap.of("a", 4, "a", 16, "b", 9);
       * Function<Integer, Double> sqrt = (Integer in) -> Math.sqrt((int) in);
       * ListMultimap<String, Double> transformed = Multimaps.transformValues(multimap, sqrt);
       * System.out.println(transformed);
       * }
       *
       * ... prints {@code {a=[2.0, 4.0], b=[3.0]}}.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 86.3K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

        for (int exp : asList(-1022, -50, -1, 0, 1, 2, 3, 4, 100, 1022, 1023)) {
          for (RoundingMode mode : asList(HALF_EVEN, HALF_UP, HALF_DOWN)) {
            double x = Math.scalb(Math.sqrt(2) + 0.001, exp);
            double y = Math.scalb(Math.sqrt(2) - 0.001, exp);
            assertEquals(exp + 1, DoubleMath.log2(x, mode));
            assertEquals(exp, DoubleMath.log2(y, mode));
          }
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 03 16:20:39 GMT 2026
    - 27.5K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/math/StatsAccumulator.java

       *
       * @throws IllegalStateException if the dataset is empty
       */
      public final double populationStandardDeviation() {
        return Math.sqrt(populationVariance());
      }
    
      /**
       * Returns the <a href="http://en.wikipedia.org/wiki/Variance#Sample_variance">unbiased sample
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 16:36:11 GMT 2025
    - 15.8K bytes
    - Click Count (0)
Back to Top