Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for withSlope (0.81 sec)

  1. 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);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. 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);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  3. 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));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  4. 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);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  5. 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);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
Back to top