Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 38 for Variance (0.39 sec)

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

        return Math.sqrt(populationVariance());
      }
    
      /**
       * Returns the <a href="http://en.wikipedia.org/wiki/Variance#Sample_variance">unbiased sample
       * variance</a> of the values. If this dataset is a sample drawn from a population, this is an
       * unbiased estimator of the population variance of the population. The count must be greater than
       * one.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 22K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtSymbolByFirBuilder.kt

                    token,
                )
            }
    
            private fun ProjectionKind.toVariance(): Variance = when (this) {
                ProjectionKind.OUT -> Variance.OUT_VARIANCE
                ProjectionKind.IN -> Variance.IN_VARIANCE
                ProjectionKind.INVARIANT -> Variance.INVARIANT
                ProjectionKind.STAR -> error("KtStarProjectionTypeArgument should not be directly created")
            }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Mar 28 09:06:28 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  3. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiExtensionsGenerator.kt

    
    private
    fun ApiTypeUsage.toTypeArgumentString(): String =
        "${variance.toKotlinString()}$sourceName${typeArguments.toTypeArgumentsString(type)}${isNullable.toKotlinNullabilityString()}"
    
    
    private
    fun Variance.toKotlinString() =
        when (this) {
            Variance.INVARIANT -> ""
            Variance.COVARIANT -> "out "
            Variance.CONTRAVARIANT -> "in "
        }
    
    
    private
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Wed Dec 20 21:41:53 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10TypeSystemCommonBackendContextForTypeMapping.kt

                substitutions[parameterTypeConstructor] = TypeProjectionImpl(arguments[index] as KotlinType)
            }
    
            return TypeSubstitutor.create(substitutions).substitute(declaration.defaultType, Variance.INVARIANT) as SimpleType
        }
    
        override fun TypeParameterMarker.representativeUpperBound(): KotlinTypeMarker {
            require(this is TypeParameterDescriptor)
    
            for (upperBound in upperBounds) {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Feb 10 16:01:04 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/math/StatsTest.java

    import static com.google.common.math.StatsTesting.LARGE_INTEGER_VALUES_POPULATION_VARIANCE;
    import static com.google.common.math.StatsTesting.LARGE_INTEGER_VALUES_STATS;
    import static com.google.common.math.StatsTesting.LARGE_LONG_VALUES_MEAN;
    import static com.google.common.math.StatsTesting.LARGE_LONG_VALUES_POPULATION_VARIANCE;
    import static com.google.common.math.StatsTesting.LARGE_LONG_VALUES_STATS;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 32.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/StatsAccumulator.java

        return Math.sqrt(populationVariance());
      }
    
      /**
       * Returns the <a href="http://en.wikipedia.org/wiki/Variance#Sample_variance">unbiased sample
       * variance</a> of the values. If this dataset is a sample drawn from a population, this is an
       * unbiased estimator of the population variance of the population. The count must be greater than
       * one.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

          if (values.hasAnyNonFinite()) {
            assertWithMessage("population variance of " + values).that(populationVariance).isNaN();
            assertWithMessage("population variance by addAll(Stats) of " + values)
                .that(populationVarianceByAddAllStats)
                .isNaN();
          } else {
            assertWithMessage("population variance of " + values)
                .that(populationVariance)
                .isWithin(ALLOWED_ERROR)
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 36.5K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirAnalysisSessionComponent.kt

            get() = when (this) {
                is KtStarTypeProjection -> ConeStarProjection
                is KtTypeArgumentWithVariance -> {
                    typeContext.createTypeArgument(type.coneType, variance.convertVariance()) as ConeTypeProjection
                }
            }
    
        fun createTypeCheckerContext(): TypeCheckerState {
            // TODO use correct session here,
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Mar 26 18:13:17 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeCreator.kt

                    when (arg) {
                        is KtStarTypeProjection -> StarProjectionImpl(typeParameters[index])
                        is KtTypeArgumentWithVariance -> TypeProjectionImpl(arg.variance, (arg.type as KtFe10Type).fe10Type)
                    }
                }
    
                TypeUtils.substituteProjectionsForParameters(descriptor, projections)
            } else {
                descriptor.defaultType
            }
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Jan 10 12:54:17 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/StatsTest.java

    import static com.google.common.math.StatsTesting.LARGE_INTEGER_VALUES_POPULATION_VARIANCE;
    import static com.google.common.math.StatsTesting.LARGE_INTEGER_VALUES_STATS;
    import static com.google.common.math.StatsTesting.LARGE_LONG_VALUES_MEAN;
    import static com.google.common.math.StatsTesting.LARGE_LONG_VALUES_POPULATION_VARIANCE;
    import static com.google.common.math.StatsTesting.LARGE_LONG_VALUES_STATS;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 28.4K bytes
    - Viewed (0)
Back to top