Searched refs:density (Results 1 - 25 of 133) sorted by relevance

123456

/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
H A DChiSquaredDistribution.java48 * Return the probability density for a particular point.
49 * @param x The point at which the density should be computed.
52 double density(Double x); method in interface:ChiSquaredDistribution
H A DExponentialDistribution.java48 * Return the probability density for a particular point.
49 * @param x The point at which the density should be computed.
52 double density(Double x); method in interface:ExponentialDistribution
H A DGammaDistribution.java62 * Return the probability density for a particular point.
63 * @param x The point at which the density should be computed.
66 double density(Double x); method in interface:GammaDistribution
H A DHasDensity.java23 * <p>Interface that signals that a distribution can compute the probability density function
25 * @param <P> the type of the point at which density is to be computed, this
29 * interface will be extended to include a <code>density(double)<code> method.</p>
38 * Compute the probability density function.
39 * @param x point for which the probability density is requested
40 * @return probability density at point x
41 * @throws MathException if probability density cannot be computed at specifed point
43 double density(P x) throws MathException; method in interface:HasDensity
H A DNormalDistribution.java60 * Return the probability density for a particular point.
61 * @param x The point at which the density should be computed.
64 double density(Double x); method in interface:NormalDistribution
H A DBetaDistribution.java22 * Computes the cumulative, inverse cumulative and density functions for the beta distribuiton.
58 * Return the probability density for a particular point.
59 * @param x The point at which the density should be computed.
61 * @exception MathException if probability density cannot be computed
63 double density(Double x) throws MathException; method in interface:BetaDistribution
H A DChiSquaredDistributionImpl.java112 * Return the probability density for a particular point.
114 * @param x The point at which the density should be computed.
119 public double density(Double x) { method in class:ChiSquaredDistributionImpl
120 return density(x.doubleValue());
124 * Return the probability density for a particular point.
126 * @param x The point at which the density should be computed.
131 public double density(double x) { method in class:ChiSquaredDistributionImpl
132 return gamma.density(x);
H A DExponentialDistributionImpl.java102 * Return the probability density for a particular point.
104 * @param x The point at which the density should be computed.
106 * @deprecated - use density(double)
109 public double density(Double x) { method in class:ExponentialDistributionImpl
110 return density(x.doubleValue());
114 * Return the probability density for a particular point.
116 * @param x The point at which the density should be computed.
121 public double density(double x) { method in class:ExponentialDistributionImpl
H A DBetaDistributionImpl.java56 /** Normalizing factor used in density computations.
126 * Return the probability density for a particular point.
128 * @param x The point at which the density should be computed.
133 public double density(Double x) { method in class:BetaDistributionImpl
134 return density(x.doubleValue());
138 * Return the probability density for a particular point.
140 * @param x The point at which the density should be computed.
145 public double density(double x) { method in class:BetaDistributionImpl
H A DGammaDistributionImpl.java198 * Returns the probability density for a particular point.
200 * @param x The point at which the density should be computed.
204 public double density(double x) { method in class:GammaDistributionImpl
210 * Return the probability density for a particular point.
212 * @param x The point at which the density should be computed.
217 public double density(Double x) { method in class:GammaDistributionImpl
218 return density(x.doubleValue());
H A DNormalDistributionImpl.java151 * Return the probability density for a particular point.
153 * @param x The point at which the density should be computed.
158 public double density(Double x) { method in class:NormalDistributionImpl
159 return density(x.doubleValue());
163 * Returns the probability density for a particular point.
165 * @param x The point at which the density should be computed.
170 public double density(double x) { method in class:NormalDistributionImpl
/external/icu/icu4c/source/tools/toolutil/
H A Ddenseranges.h29 * @param density Minimum average range density, in 256th. (0x100=100%=perfectly dense.)
33 * @return Minimum number of ranges (at most capacity) that have the desired density,
34 * or 0 if that density cannot be achieved.
38 int32_t density,
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowViewConfiguration.java75 float density = metrics.density;
77 edgeSlop = (int) (density * EDGE_SLOP + 0.5f);
78 fadingEdgeLength = (int) (density * FADING_EDGE_LENGTH + 0.5f);
79 minimumFlingVelocity = (int) (density * MINIMUM_FLING_VELOCITY + 0.5f);
80 maximumFlingVelocity = (int) (density * MAXIMUM_FLING_VELOCITY + 0.5f);
81 scrollbarSize = (int) (density * SCROLL_BAR_SIZE + 0.5f);
82 touchSlop = (int) (density * TOUCH_SLOP + 0.5f);
83 pagingTouchSlop = (int) (density * PAGING_TOUCH_SLOP + 0.5f);
84 doubleTapSlop = (int) (density * DOUBLE_TAP_SLO
[all...]
H A DShadowDisplay.java19 private float density = 1.5f; field in class:ShadowDisplay
35 outMetrics.density = density;
70 return density;
73 public void setDensity(float density) { argument
74 this.density = density;
/external/ImageMagick/MagickCore/
H A Dprepress.c72 % GetImageTotalInkDensity() returns the total ink density for a CMYK image.
123 density;
139 density=(double) GetPixelRed(image,p)+GetPixelGreen(image,p)+
141 if (density > total_ink_density)
146 if (density > total_ink_density)
147 total_ink_density=density;
121 density; local
/external/ImageMagick/Magick++/demo/
H A Dzoom.cpp7 // Usage: zoom [-density resolution] [-filter algorithm] [-geometry geometry]
20 << " [-density resolution] [-filter algorithm] [-geometry geometry]"
52 Point density; local
60 if (command.compare("-density") == 0)
64 density=Geometry(argv[argv_index]);
155 if (density.isValid())
156 image.density(density);
157 density=image.density();
[all...]
/external/eigen/bench/
H A Dsparse_trisolver.cpp40 void fillMatrix(float density, int rows, int cols, EigenSparseTriMatrix& dst) argument
42 dst.startFill(rows*cols*density);
47 Scalar v = (internal::random<float>(0,1) < density) ? internal::random<Scalar>() : 0;
60 float density = DENSITY; local
70 for (float density = DENSITY; density>=MINDENSITY; density*=0.5)
73 fillMatrix(density, rows, cols, sm1);
80 std::cout << "Eigen Dense\t" << density*100 << "%\n";
98 std::cout << "Eigen sparse\t" << density*10
[all...]
H A Dsparse_transpose.cpp40 float density = DENSITY; local
45 for (float density = DENSITY; density>=MINDENSITY; density*=0.5)
47 fillMatrix(density, rows, cols, sm1);
H A Dsparse_dense_product.cpp56 float density = DENSITY; local
63 for (float density = DENSITY; density>=MINDENSITY; density*=0.5)
65 //fillMatrix(density, rows, cols, sm1);
71 std::cout << "Eigen Dense\t" << density*100 << "%\n";
118 std::cout << "GMM++ sparse\t" << density*100 << "%\n";
137 std::cout << "ublas sparse\t" << density*100 << "%\n";
160 std::cout << "MTL4\t" << density*100 << "%\n";
/external/eigen/test/
H A Dsparse_solvers.cpp13 initSPD(double density, argument
18 initSparse(density,refMat,sparseMat);
22 initSparse(density,aux,sparseMat,ForceNonZeroDiag);
35 double density = (std::max)(8./(rows*cols), 0.01); local
52 initSparse<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeLowerTriangular, &zeroCoords, &nonzeroCoords);
57 initSparse<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeUpperTriangular, &zeroCoords, &nonzeroCoords);
71 initSparse<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeLowerTriangular, &zeroCoords, &nonzeroCoords);
76 initSparse<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeUpperTriangular, &zeroCoords, &nonzeroCoords);
84 initSparse<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeLowerTriangular);
85 initSparse<Scalar>(density, refMat
[all...]
H A Dsparse.h50 * and a ratio of \a density non zero entries.
57 initSparse(double density, argument
66 //sparseMat.reserve(int(refMat.rows()*refMat.cols()*density));
67 sparseMat.reserve(VectorXi::Constant(IsRowMajor ? refMat.rows() : refMat.cols(), int((1.5*density)*(IsRowMajor?refMat.cols():refMat.rows()))));
77 Scalar v = (internal::random<double>(0,1) < density) ? internal::random<Scalar>() : Scalar(0);
112 initSparse(double density, argument
121 sparseMat.reserve(int(refMat.rows()*refMat.cols()*density));
130 Scalar v = (internal::random<double>(0,1) < density) ? internal::random<Scalar>() : Scalar(0);
161 initSparse(double density, argument
167 sparseVec.reserve(int(refVec.size()*density));
185 initSparse(double density, Matrix<Scalar,1,Dynamic>& refVec, SparseVector<Scalar,Options,Index>& sparseVec, std::vector<int>* zeroCoords = 0, std::vector<int>* nonzeroCoords = 0) argument
[all...]
H A Dspqr_support.cpp21 double density = (std::max)(8./(rows*cols), 0.01); local
25 initSparse<Scalar>(density, dA, A,ForceNonZeroDiag);
/external/deqp/framework/platform/android/
H A DtcuAndroidUtil.hpp60 float density; member in struct:tcu::Android::DisplayMetrics
71 : density (0.0f)
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
H A DTypedValueTest.java18 metrics.density = 0.5f;
65 expectedValue.density = 4;
75 assertThat(expectedValue.density, equalTo(actualValue.density));
/external/ImageMagick/coders/
H A Dcals.c175 density,
204 density=0;
222 (void) sscanf(header+8,"%lu",&density);
274 (void) FormatLocaleString(message,MagickPathExtent,"%lu",density);
275 (void) CloneString(&read_info->density,message);
451 density,
542 density=200;
543 if (image_info->density != (char *) NULL)
548 (void) ParseGeometry(image_info->density,&geometry_info);
549 density
171 density, local
444 density, local
[all...]

Completed in 1373 milliseconds

123456