Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for isHorizontal (0.15 seconds)

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

        checkArgument(isFinite(y));
        double slope = 0.0;
        return new RegularLinearTransformation(slope, y);
      }
    
      /**
       * Builds an instance for datasets which contains {@link Double#NaN}. The {@link #isHorizontal}
       * and {@link #isVertical} methods return {@code false} and the {@link #slope}, and {@link
       * #transform} methods all return {@link Double#NaN}. The {@link #inverse} method returns the same
       * instance.
       */
    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

        double slope = Double.MIN_VALUE;
        LinearTransformation transformation = LinearTransformation.mapping(x1, y1).withSlope(slope);
        assertThat(transformation.isVertical()).isFalse();
        assertThat(transformation.isHorizontal()).isFalse();
        assertThat(transformation.slope()).isWithin(ALLOWED_ERROR).of(slope);
        // Note that we cannot test the actual mapping of points, as the results will be unreliable due
    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

        double slope = Double.MIN_VALUE;
        LinearTransformation transformation = LinearTransformation.mapping(x1, y1).withSlope(slope);
        assertThat(transformation.isVertical()).isFalse();
        assertThat(transformation.isHorizontal()).isFalse();
        assertThat(transformation.slope()).isWithin(ALLOWED_ERROR).of(slope);
        // Note that we cannot test the actual mapping of points, as the results will be unreliable due
    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)
Back to Top