Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for y1 (0.62 sec)

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

      public void testMappingAnd_regular() {
        double x1 = 1.2;
        double y1 = 3.4;
        double xDelta = 5.6;
        double yDelta = 7.8;
        LinearTransformation transformation =
            LinearTransformation.mapping(x1, y1).and(x1 + xDelta, y1 + yDelta);
        assertDiagonalLinearTransformation(transformation, x1, y1, xDelta, yDelta);
      }
    
      public void testMappingAnd_horizontal() {
        double x1 = 1.2;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/LinearTransformationTest.java

      public void testMappingAnd_regular() {
        double x1 = 1.2;
        double y1 = 3.4;
        double xDelta = 5.6;
        double yDelta = 7.8;
        LinearTransformation transformation =
            LinearTransformation.mapping(x1, y1).and(x1 + xDelta, y1 + yDelta);
        assertDiagonalLinearTransformation(transformation, x1, y1, xDelta, yDelta);
      }
    
      public void testMappingAnd_horizontal() {
        double x1 = 1.2;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/LinearTransformation.java

       *
       * @since 20.0
       */
      public static final class LinearTransformationBuilder {
    
        private final double x1;
        private final double y1;
    
        private LinearTransformationBuilder(double x1, double y1) {
          this.x1 = x1;
          this.y1 = y1;
        }
    
        /**
         * Finish building an instance which also maps {@code x = x2} to {@code y = y2}. These values
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/StatsTesting.java

        assertThat(transformation.transform(x1)).isWithin(ALLOWED_ERROR).of(y1);
        assertThat(transformation.transform(x1 + xDelta)).isWithin(ALLOWED_ERROR).of(y1 + yDelta);
        assertThat(transformation.inverse().transform(y1)).isWithin(ALLOWED_ERROR).of(x1);
        assertThat(transformation.inverse().transform(y1 + yDelta))
            .isWithin(ALLOWED_ERROR)
            .of(x1 + xDelta);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 22.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/math/StatsTesting.java

        assertThat(transformation.transform(x1)).isWithin(ALLOWED_ERROR).of(y1);
        assertThat(transformation.transform(x1 + xDelta)).isWithin(ALLOWED_ERROR).of(y1 + yDelta);
        assertThat(transformation.inverse().transform(y1)).isWithin(ALLOWED_ERROR).of(x1);
        assertThat(transformation.inverse().transform(y1 + yDelta))
            .isWithin(ALLOWED_ERROR)
            .of(x1 + xDelta);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 23.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Range.java

        /*
         * For an explanation of the basic principle behind this check, see
         * https://stackoverflow.com/a/35754308/28465
         *
         * In that explanation's notation, our `overlap` check would be `x1 < y2 && y1 < x2`. We've
         * flipped one part of the check so that we're using "less than" in both cases (rather than a
         * mix of "less than" and "greater than"). We've also switched to "strictly less than" rather
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 27.8K bytes
    - Viewed (0)
Back to top