Searched defs:density (Results 1 - 25 of 53) sorted by relevance

123

/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
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 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 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 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 DAbstractContinuousDistribution.java66 * Return the probability density for a particular point.
67 * @param x The point at which the density should be computed.
72 public double density(double x) throws MathRuntimeException { method in class:AbstractContinuousDistribution
125 * case if density has bounded support and p is 0 or 1).
H A DTDistributionImpl.java108 * Returns the probability density for a particular point.
110 * @param x The point at which the density should be computed.
115 public double density(double x) { method in class:TDistributionImpl
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
/external/eigen/bench/
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";
H A Dsparse_lu.cpp76 float density = DENSITY; local
84 //for (float density = DENSITY; density>=MINDENSITY; density*=0.5)
85 // float density = 0.5;
88 fillMatrix(density, rows, cols, sm1);
95 std::cout << "Eigen Dense\t" << density*100 << "%\n";
H A Dsparse_product.cpp102 float density = DENSITY; local
H A Dsparse_randomsetter.cpp69 float density = DENSITY; local
74 nentries = rows*cols*density;
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...]
/external/eigen/test/eigen2/
H A Dsparse.h38 * and a ratio of \a density non zero entries.
45 initSparse(double density, argument
52 sparseMat.startFill(int(refMat.rows()*refMat.cols()*density));
57 Scalar v = (ei_random<double>(0,1) < density) ? ei_random<Scalar>() : Scalar(0);
88 initSparse(double density, argument
95 sparseMat.startFill(int(refMat.rows()*refMat.cols()*density));
100 Scalar v = (ei_random<double>(0,1) < density) ? ei_random<Scalar>() : Scalar(0);
131 initSparse(double density, argument
137 sparseVec.reserve(int(refVec.size()*density));
141 Scalar v = (ei_random<double>(0,1) < density)
[all...]
H A Deigen2_sparse_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|MakeLowerTriangular, &zeroCoords, &nonzeroCoords);
62 initSparse<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeUpperTriangular, &zeroCoords, &nonzeroCoords);
67 initSparse<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeUpperTriangular, &zeroCoords, &nonzeroCoords);
81 initSPD(density, refMat2, m2);
122 //initSPD(density, refMat
[all...]
H A Deigen2_sparse_product.cpp19 double density = std::max(8./(rows*cols), 0.01); local
32 initSparse<Scalar>(density, refMat2, m2);
33 initSparse<Scalar>(density, refMat3, m3);
34 initSparse<Scalar>(density, refMat4, m4);
63 initSparse<Scalar>(density, refM2, m2);
64 initSparse<Scalar>(density, refM3, m3);
83 initSparse<Scalar>(density, refUp, mUp, ForceRealDiag|/*ForceNonZeroDiag|*/MakeUpperTriangular);
/external/eigen/test/
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);
109 initSparse(double density, argument
118 sparseMat.reserve(int(refMat.rows()*refMat.cols()*density));
127 Scalar v = (internal::random<double>(0,1) < density) ? internal::random<Scalar>() : Scalar(0);
158 initSparse(double density, argument
164 sparseVec.reserve(int(refVec.size()*density));
182 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 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 Dspqr_support.cpp19 double density = (std::max)(8./(rows*cols), 0.01); local
23 initSparse<Scalar>(density, dA, A,ForceNonZeroDiag);
H A Dsparse_permutations.cpp24 double density = (std::max)(8./(rows*cols), 0.01); local
30 initSparse<Scalar>(density, mat_d, mat, 0);
H A Dsparseqr.cpp18 double density = (std::max)(8./(rows*cols), 0.01); local
22 initSparse<Scalar>(density, dA, A,ForceNonZeroDiag);
/external/mesa3d/src/mesa/swrast/
H A Ds_fog.c69 #define EXP_FOG(f, coord) f = EXPF(density * coord)
185 const GLfloat density = -ctx->Fog.Density; local
/external/eigen/unsupported/test/
H A Dsparse_extra.cpp58 double density = (std::max)(8./(rows*cols), 0.01); local
69 initSparse<Scalar>(density, refMat, m, 0, &zeroCoords, &nonzeroCoords);
120 initSparse<Scalar>(density, refM1, m1);

Completed in 2296 milliseconds

123