Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for withSlope (0.03 sec)

  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));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  2. 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