Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for withSlope (0.17 seconds)

  1. android/guava/src/com/google/common/math/LinearTransformation.java

      /**
       * Start building an instance which maps {@code x = x1} to {@code y = y1}. Both arguments must be
       * finite. Call either {@link LinearTransformationBuilder#and} or {@link
       * LinearTransformationBuilder#withSlope} on the returned object to finish building the instance.
       */
      public static LinearTransformationBuilder mapping(double x1, double y1) {
        checkArgument(isFinite(x1) && isFinite(y1));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/math/LinearTransformationTest.java

        LinearTransformation transformation = LinearTransformation.mapping(x1, y1).withSlope(slope);
        assertDiagonalLinearTransformation(transformation, x1, y1, xDelta, xDelta * slope);
      }
    
      public void testMappingWithSlope_horizontal() {
        double x1 = 1.2;
        double y = 5.6;
        LinearTransformation transformation = LinearTransformation.mapping(x1, y).withSlope(0.0);
        assertHorizontalLinearTransformation(transformation, y);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/math/LinearTransformationTest.java

        LinearTransformation transformation = LinearTransformation.mapping(x1, y1).withSlope(slope);
        assertDiagonalLinearTransformation(transformation, x1, y1, xDelta, xDelta * slope);
      }
    
      public void testMappingWithSlope_horizontal() {
        double x1 = 1.2;
        double y = 5.6;
        LinearTransformation transformation = LinearTransformation.mapping(x1, y).withSlope(0.0);
        assertHorizontalLinearTransformation(transformation, y);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/math/PairedStatsAccumulator.java

        if (xSumOfSquaresOfDeltas > 0.0) {
          if (yStats.sumOfSquaresOfDeltas() > 0.0) {
            return LinearTransformation.mapping(xStats.mean(), yStats.mean())
                .withSlope(sumOfProductsOfDeltas / xSumOfSquaresOfDeltas);
          } else {
            return LinearTransformation.horizontal(yStats.mean());
          }
        } else {
          checkState(yStats.sumOfSquaresOfDeltas() > 0.0);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/math/PairedStats.java

        if (xSumOfSquaresOfDeltas > 0.0) {
          if (yStats.sumOfSquaresOfDeltas() > 0.0) {
            return LinearTransformation.mapping(xStats.mean(), yStats.mean())
                .withSlope(sumOfProductsOfDeltas / xSumOfSquaresOfDeltas);
          } else {
            return LinearTransformation.horizontal(yStats.mean());
          }
        } else {
          checkState(yStats.sumOfSquaresOfDeltas() > 0.0);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

                        }
                        if (dependency.getScope() == null && managedDependency.getScope() != null) {
                            dependency = dependency.withScope(managedDependency.getScope());
                        }
                        if (dependency.getOptional() == null && managedDependency.getOptional() != null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 04 19:49:40 GMT 2026
    - 22.3K bytes
    - Click Count (0)
Back to Top