Searched defs:dimension (Results 1 - 25 of 71) sorted by relevance

123

/external/apache-commons-math/src/main/java/org/apache/commons/math/random/
H A DUnitSphereRandomVectorGenerator.java37 * Space dimension.
39 private final int dimension; field in class:UnitSphereRandomVectorGenerator
42 * @param dimension Space dimension.
45 public UnitSphereRandomVectorGenerator(final int dimension, argument
47 this.dimension = dimension;
54 * @param dimension Space dimension.
56 public UnitSphereRandomVectorGenerator(final int dimension) { argument
[all...]
H A DUncorrelatedRandomVectorGenerator.java67 * @param dimension dimension of the vectors to generate
71 public UncorrelatedRandomVectorGenerator(int dimension, argument
73 mean = new double[dimension];
74 standardDeviation = new double[dimension];
/external/webrtc/webrtc/modules/audio_processing/vad/
H A Dgmm.h23 // weight[n] = log(w[n]) - |dimension|/2 * log(2*pi) - 1/2 * log(det(cov[n]));
26 // pointer to the first element of a |num_mixtures|x|dimension| matrix
29 // pointer to the first element of a |num_mixtures|x|dimension|x|dimension|
34 int dimension; member in struct:webrtc::GmmParameters
41 // acceptable dimension by the following function -1 is returned.
H A Dgmm.cc24 int dimension,
26 for (int n = 0; n < dimension; ++n)
32 int dimension) {
34 for (int i = 0; i < dimension; ++i) {
36 for (int j = 0; j < dimension; j++)
45 if (gmm_parameters.dimension > kMaxDimension) {
54 RemoveMean(x, mean_vec, gmm_parameters.dimension, v);
55 double q = ComputeExponent(v, covar_inv, gmm_parameters.dimension) +
58 mean_vec += gmm_parameters.dimension;
59 covar_inv += gmm_parameters.dimension * gmm_parameter
22 RemoveMean(const double* in, const double* mean_vec, int dimension, double* out) argument
30 ComputeExponent(const double* in, const double* covar_inv, int dimension) argument
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/exception/
H A DDimensionMismatchException.java32 /** Correct dimension. */
33 private final int dimension; field in class:DimensionMismatchException
38 * @param wrong Wrong dimension.
39 * @param expected Expected dimension.
44 dimension = expected;
48 * @return the expected dimension.
51 return dimension;
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/
H A DFirstOrderConverter.java29 * <p>The transformation is done by changing the n dimension state
30 * vector to a 2n dimension vector, where the first n components are
63 /** second order problem dimension. */
64 private final int dimension; field in class:FirstOrderConverter
81 dimension = equations.getDimension();
82 z = new double[dimension];
83 zDot = new double[dimension];
84 zDDot = new double[dimension];
87 /** Get the dimension of the problem.
88 * <p>The dimension o
[all...]
H A DMultistepIntegrator.java313 /** Problem dimension. */
317 * @param n problem dimension
386 private final int dimension; field in class:MultistepIntegrator.CountingDifferentialEquations
389 * @param dimension dimension of the problem
391 public CountingDifferentialEquations(final int dimension) { argument
392 this.dimension = dimension;
403 return dimension;
/external/deqp/external/vulkancts/modules/vulkan/image/
H A DvktImageTexture.cpp126 int Texture::dimension (void) const function in class:vkt::image::Texture
/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
H A DTJScalingFactor.java63 * Returns the scaled value of <code>dimension</code>. This function
65 * <code>ceil(dimension * scalingFactor)</code>.
67 * @return the scaled value of <code>dimension</code>.
69 public int getScaled(int dimension) { argument
70 return (dimension * num + denom - 1) / denom;
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/moment/
H A DVectorialMean.java38 * @param dimension vectors dimension
40 public VectorialMean(int dimension) { argument
41 means = new Mean[dimension];
42 for (int i = 0; i < dimension; ++i) {
50 * @exception DimensionMismatchException if the vector does not have the right dimension
H A DVectorialCovariance.java49 * @param dimension vectors dimension
53 public VectorialCovariance(int dimension, boolean isBiasCorrected) { argument
54 sums = new double[dimension];
55 productsSums = new double[dimension * (dimension + 1) / 2];
63 * @exception DimensionMismatchException if the vector does not have the right dimension
85 int dimension = sums.length;
86 RealMatrix result = MatrixUtils.createRealMatrix(dimension, dimension);
[all...]
/external/deqp/modules/gles31/functional/
H A Des31fFramebufferDefaultStateQueryTests.cpp109 FramebufferDimensionTest (Context& context, QueryType verifier, DimensionType dimension, const char* name, const char* desc);
117 FramebufferDimensionTest::FramebufferDimensionTest (Context& context, QueryType verifier, DimensionType dimension, const char* name, const char* desc) argument
119 , m_dimension (dimension)
121 DE_ASSERT(dimension < DIMENSION_LAST);
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
H A DGlShader.java96 * |buffer| with |dimension| number of components per vertex.
98 public void setVertexAttribArray(String label, int dimension, FloatBuffer buffer) { argument
104 GLES20.glVertexAttribPointer(location, dimension, GLES20.GL_FLOAT, false, 0, buffer);
/external/eigen/unsupported/test/
H A Dsplines.cpp243 const unsigned int dimension = 2; local
246 ArrayXXd points = ArrayXXd::Random(dimension, numPoints);
251 ArrayXXd derivatives = ArrayXXd::Random(dimension, numPoints);
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/
H A DPixelUtils.java141 * http://stackoverflow.com/questions/8343971/how-to-parse-a-dimension-string-and-convert-it-to-a-dimension-value
143 // -- Initialize dimension string to constant lookup.
158 // -- Initialize pattern for dimension string.
161 /*public static int stringToDimensionPixelSize(String dimension, DisplayMetrics metrics) {
163 InternalDimension internalDimension = stringToInternalDimension(dimension);
173 public static float stringToDimension(String dimension) { argument
175 InternalDimension internalDimension = stringToInternalDimension(dimension);
179 private static InternalDimension stringToInternalDimension(String dimension) { argument
181 Matcher matcher = DIMENSION_PATTERN.matcher(dimension);
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/interpolation/
H A DMicrosphereInterpolatingFunction.java41 * Space dimension.
43 private final int dimension; field in class:MicrosphereInterpolatingFunction
134 * point (where {@code dimension} is thus the dimension of the sampled
144 * have lengths different from {@code dimension}.
161 dimension = xval[0].length;
168 if ( xvalI.length != dimension) {
169 throw new DimensionMismatchException(xvalI.length, dimension);
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
H A DMultidimensionalCounter.java49 private final int dimension; field in class:MultidimensionalCounter
51 * Offset for each dimension.
63 * Index of last dimension.
74 private final int[] counter = new int[dimension];
92 for (int i = 0; i < dimension; i++) {
131 return /* Arrays.*/ copyOf(counter, dimension); // Java 1.5 does not support Arrays.copyOf()
135 * Get the current count in the selected dimension.
160 * @param size Counter sizes (number of slots in each dimension).
165 dimension = size.length;
166 this.size = /* Arrays.*/ copyOf(size, dimension); // Jav
[all...]
/external/doclava/src/com/google/doclava/
H A DParameterInfo.java95 * Returns true if this parameter's dimension information agrees
96 * with the represented callee's dimension information.
98 public boolean matchesDimension(String dimension, boolean varargs) { argument
100 dimension += "[]";
102 return mType.dimension().equals(dimension);
/external/javassist/src/main/javassist/expr/
H A DNewArray.java120 * Returns the dimension of the created array.
243 int index, dimension; field in class:NewArray.ProceedForArray
249 dimension = dim;
256 if (num != dimension)
269 bytecode.add(dimension);
270 bytecode.growStack(1 - dimension);
/external/pdfium/xfa/fxbarcode/common/
H A DBC_CommonBitMatrix.cpp33 void CBC_CommonBitMatrix::Init(int32_t dimension) { argument
34 m_width = dimension;
35 m_height = dimension;
/external/ImageMagick/coders/
H A Dsgi.c83 dimension,
338 iris_info.dimension=ReadBlobMSBShort(image);
944 iris_info.dimension=3;
954 iris_info.dimension=2;
970 (void) WriteBlobMSBShort(image,iris_info.dimension);
81 dimension, member in struct:_SGIInfo
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
H A DSparseFieldVector.java63 * Construct a (dimension)-length vector of zeros.
65 * @param dimension Size of the vector
67 public SparseFieldVector(Field<T> field, int dimension) { argument
69 virtualSize = dimension;
88 * @param dimension The size of the vector
91 public SparseFieldVector(Field<T> field, int dimension, int expectedSize) { argument
93 virtualSize = dimension;
558 * Check if instance dimension is equal to some expected value.
561 * expected dimension.
563 * if the dimension i
[all...]
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
H A DTensor.h101 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index dimension(std::size_t n) const { return m_storage.dimensions()[n]; } function in class:Eigen::Tensor
H A DTensorFixedSize.h56 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index dimension(std::size_t n) const { return m_storage.dimensions()[n]; } function in class:Eigen::TensorFixedSize
H A DTensorMap.h111 EIGEN_STRONG_INLINE Index dimension(Index n) const { return m_dimensions[n]; } function in class:Eigen::TensorMap

Completed in 1141 milliseconds

123