Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 627 for slope (0.16 sec)

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

         * Finish building an instance with the given slope, i.e. the rate of change of {@code y} with
         * respect to {@code x}. The slope must not be {@code NaN}. It may be infinite, in which case
         * the transformation is vertical. (If it is zero, the transformation is horizontal.)
         */
        public LinearTransformation withSlope(double slope) {
          checkArgument(!Double.isNaN(slope));
          if (isFinite(slope)) {
    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)
  2. guava-tests/test/com/google/common/math/LinearTransformationTest.java

        double x1 = 1.2;
        double y1 = 3.4;
        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);
    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)
  3. android/guava-tests/test/com/google/common/math/LinearTransformationTest.java

        double x1 = 1.2;
        double y1 = 3.4;
        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);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/StatsTesting.java

        assertThat(transformation.inverse().transform(y1 + yDelta))
            .isWithin(ALLOWED_ERROR)
            .of(x1 + xDelta);
        assertThat(transformation.slope()).isWithin(ALLOWED_ERROR).of(yDelta / xDelta);
        assertThat(transformation.inverse().slope()).isWithin(ALLOWED_ERROR).of(xDelta / yDelta);
        assertThat(transformation.inverse()).isSameInstanceAs(transformation.inverse());
    Java
    - Registered: Fri Apr 26 12:43:10 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.inverse().transform(y1 + yDelta))
            .isWithin(ALLOWED_ERROR)
            .of(x1 + xDelta);
        assertThat(transformation.slope()).isWithin(ALLOWED_ERROR).of(yDelta / xDelta);
        assertThat(transformation.inverse().slope()).isWithin(ALLOWED_ERROR).of(xDelta / yDelta);
        assertThat(transformation.inverse()).isSameInstanceAs(transformation.inverse());
    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/util/concurrent/SmoothRateLimiter.java

       */
      static final class SmoothWarmingUp extends SmoothRateLimiter {
        private final long warmupPeriodMicros;
        /**
         * The slope of the line from the stable interval (when permits == 0), to the cold interval
         * (when permits == maxPermits)
         */
        private double slope;
    
        private double thresholdPermits;
        private double coldFactor;
    
        SmoothWarmingUp(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/Scope.java

        IMPORT("import"); // TODO: v4: remove import scope somehow
    
        private final String id;
    
        private static final Map<String, Scope> SCOPES;
    
        static {
            Map<String, Scope> scopes = new HashMap<>();
            for (Scope s : Scope.values()) {
                scopes.put(s.id, s);
            }
            SCOPES = scopes;
        }
    
        Scope(String id) {
            this.id = id;
        }
    
    Java
    - Registered: Sun Feb 04 03:35:10 GMT 2024
    - Last Modified: Fri Dec 08 08:42:44 GMT 2023
    - 1.7K bytes
    - Viewed (1)
  8. api/maven-api-di/src/main/java/org/apache/maven/api/di/Scope.java

    import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    @Target(ANNOTATION_TYPE)
    @Retention(RUNTIME)
    @Documented
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Feb 05 09:45:47 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  9. tests/test_route_scope.py

    
    @app.get("/users/{user_id}")
    async def get_user(user_id: str, request: Request):
        route: APIRoute = request.scope["route"]
        return {"user_id": user_id, "path": route.path}
    
    
    @app.websocket("/items/{item_id}")
    async def websocket_item(item_id: str, websocket: WebSocket):
        route: APIWebSocketRoute = websocket.scope["route"]
        await websocket.accept()
        await websocket.send_json({"item_id": item_id, "path": route.path})
    
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Feb 08 10:23:07 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  10. .idea/scopes/scope_settings.xml

    Maxim Shafirov <******@****.***> 1308913888 +0400
    XML
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Jun 24 11:11:28 GMT 2011
    - 139 bytes
    - Viewed (0)
Back to top