/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/ |
FirstOrderConverter.java | 29 * <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 of the first order problem is twice th [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/random/ |
UnitSphereRandomVectorGenerator.java | 37 * Space dimension. 39 private final int dimension; field in class:UnitSphereRandomVectorGenerator 42 * @param dimension Space dimension. 45 public UnitSphereRandomVectorGenerator(final int dimension, 47 this.dimension = dimension; 54 * @param dimension Space dimension. 56 public UnitSphereRandomVectorGenerator(final int dimension) { [all...] |
UncorrelatedRandomVectorGenerator.java | 67 * @param dimension dimension of the vectors to generate 71 public UncorrelatedRandomVectorGenerator(int dimension, 73 mean = new double[dimension]; 74 standardDeviation = new double[dimension];
|
/packages/apps/Messaging/tools/messagegen/ |
listimages | 18 dimension=`identify -format "%w %h" $file` 20 echo "$file $dimension $size"
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/exception/ |
DimensionMismatchException.java | 32 /** 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/webrtc/webrtc/modules/audio_processing/vad/ |
gmm.cc | 24 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_parameters.dimension [all...] |
gmm.h | 23 // 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.
|
gmm_unittest.cc | 26 noise_gmm.dimension = kNoiseGmmDim; 33 voice_gmm.dimension = kVoiceGmmDim;
|
/packages/apps/Gallery2/jni/filters/ |
kmeans.h | 26 inline void sum(T values[], int len, int dimension, int stride, N dst[]) { 29 for (x = 0; x < dimension; x++) { 33 for (y = 0; y < dimension; y++) { 40 inline void set(T val1[], N val2[], int dimension) { 42 for (x = 0; x < dimension; x++) { 48 inline void add(T val[], N dst[], int dimension) { 50 for (x = 0; x < dimension; x++) { 56 inline void divide(T dst[], N divisor, int dimension) { 61 for (x = 0; x < dimension; x++) { 71 inline N euclideanDist(T val1[], T val2[], int dimension) { [all...] |
kmeans.cc | 50 int dimension = 3; local 58 runKMeans<unsigned char, int>(k, finalCentroids, small_ds, len, dimension, 68 dimension, stride, iterations, finalCentroids); 73 applyCentroids<unsigned char, int>(k, nextCentroids, dst, len, dimension, stride);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/ |
MultidimensionalCounter.java | 49 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. 137 * @param dim Dimension index. 160 * @param size Counter sizes (number of slots in each dimension). 165 dimension = size.length [all...] |
/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/ |
TJScalingFactor.java | 62 * Returns the scaled value of <code>dimension</code>. This function 64 * <code>ceil(dimension * scalingFactor)</code>. 66 * @return the scaled value of <code>dimension</code>. 68 public int getScaled(int dimension) { 69 return (dimension * num + denom - 1) / denom;
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/moment/ |
VectorialCovariance.java | 49 * @param dimension vectors dimension 53 public VectorialCovariance(int dimension, boolean isBiasCorrected) { 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; local 86 RealMatrix result = MatrixUtils.createRealMatrix(dimension, dimension); [all...] |
VectorialMean.java | 38 * @param dimension vectors dimension 40 public VectorialMean(int dimension) { 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
|
/external/pdfium/xfa/src/fxbarcode/qrcode/ |
BC_QRBitMatrixParser.cpp | 70 int32_t dimension = m_bitMatrix->GetDimension(e);
local 73 int32_t iMin = dimension - 8;
74 for (j = dimension - 1; j >= iMin; j--) {
77 for (int32_t k = dimension - 7; k < dimension; k++) {
93 int32_t dimension = m_bitMatrix->GetDimension(e);
local 95 int32_t provisionVersion = (dimension - 17) >> 2;
104 int32_t jMin = dimension - 11;
105 for (int32_t j = dimension - 9; j >= jMin; j--) {
111 if (m_version != NULL && m_version->GetDimensionForVersion() == dimension) {
143 int32_t dimension = m_bitMatrix->GetDimension(e); local [all...] |
BC_QRDataMask.h | 18 void UnmaskBitMatirx(CBC_CommonBitMatrix* bits, int32_t dimension);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/nonstiff/ |
DormandPrince853StepInterpolator.java | 254 final int dimension = interpolator.currentState.length; local 258 yDotKLast[k] = new double[dimension]; 260 dimension); 265 v[k] = new double[dimension]; 266 System.arraycopy(interpolator.v[k], 0, v[k], 0, dimension); 288 final int dimension = currentState.length; local 292 yDotKLast[k] = new double[dimension]; 297 v[k] = new double[dimension]; 444 final int dimension = (currentState == null) ? -1 : currentState.length; local 445 out.writeInt(dimension); 464 final int dimension = in.readInt(); local [all...] |
GraggBulirschStoerStepInterpolator.java | 155 final int dimension = currentState.length; local 171 polynoms[i] = new double[dimension]; 173 polynoms[i], 0, dimension); 314 final int dimension = currentState.length; local 325 for (int i = 0; i < dimension; ++i) { 351 System.arraycopy(yMidDots[1], 0, interpolatedDerivatives, 0, dimension); 361 final int dimension = (currentState == null) ? -1 : currentState.length; local 369 for (int l = 0; l < dimension; ++l) { 383 final int dimension = (currentState == null) ? -1 : currentState.length; local 391 for (int l = 0; l < dimension; ++l) [all...] |
/packages/apps/Camera2/src/com/android/camera/data/ |
SessionItem.java | 58 Size dimension = getSessionSize(uri); local 59 if (dimension == null) { 62 return Optional.of(new SessionItem(context, uri, dimension)); 65 protected SessionItem(Context context, Uri uri, Size dimension) { 76 .withDimensions(dimension) 144 Size dimension = getSessionSize(mData.getUri()); local 145 if (dimension == null) { 151 .withDimensions(dimension)
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
vktImageTexture.hpp | 44 tcu::IVec3 size (void) const; //!< Size including number of layers in additional dimension (e.g. z in 2d texture) 45 int dimension (void) const; //!< Coordinate dimension used for addressing (e.g. 3 (x,y,z) for 2d array) 46 int layerDimension (void) const; //!< Coordinate dimension used for addressing a single layer (e.g. 2 (x,y) for 2d array)
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
LinearLayoutWeightFix.java | 56 String dimension; local 59 dimension = ATTR_LAYOUT_HEIGHT; 61 dimension = ATTR_LAYOUT_WIDTH; 63 element.setAttributeNS(ANDROID_URI, dimension, VALUE_ZERO_DP);
|
/external/freetype/src/pshinter/ |
pshalgo.c | 400 FT_Int dimension ) 414 ps_debug_hint_func( hint, dimension ); 439 FT_Int dimension, 442 PSH_Dimension dim = &globals->dimension[dimension]; 458 if ( ( dimension == 0 && !glyph->do_horz_hints ) || 459 ( dimension == 1 && !glyph->do_vert_hints ) ) 471 do_snapping = ( dimension == 0 && glyph->do_horz_snapping ) || 472 ( dimension == 1 && glyph->do_vert_snapping ); 480 if ( dimension == 1 2175 FT_Int dimension; local [all...] |
/external/pdfium/third_party/freetype/src/pshinter/ |
pshalgo.c | 400 FT_Int dimension ) 414 ps_debug_hint_func( hint, dimension ); 439 FT_Int dimension, 442 PSH_Dimension dim = &globals->dimension[dimension]; 458 if ( ( dimension == 0 && !glyph->do_horz_hints ) || 459 ( dimension == 1 && !glyph->do_vert_hints ) ) 471 do_snapping = ( dimension == 0 && glyph->do_horz_snapping ) || 472 ( dimension == 1 && glyph->do_vert_snapping ); 480 if ( dimension == 1 2081 FT_Int dimension; local [all...] |
/frameworks/rs/api/ |
rs_for_each.spec | 61 field: uint32_t xStart, "Starting index in the X dimension." 62 field: uint32_t xEnd, "Ending index (exclusive) in the X dimension." 63 field: uint32_t yStart, "Starting index in the Y dimension." 64 field: uint32_t yEnd, "Ending index (exclusive) in the Y dimension." 65 field: uint32_t zStart, "Starting index in the Z dimension." 66 field: uint32_t zEnd, "Ending index (exclusive) in the Z dimension." 67 field: uint32_t arrayStart, "Starting index in the Array0 dimension." 68 field: uint32_t arrayEnd, "Ending index (exclusive) in the Array0 dimension." 69 field: uint32_t array1Start, "Starting index in the Array1 dimension." 70 field: uint32_t array1End, "Ending index (exclusive) in the Array1 dimension. [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/views/detail/ |
ShaderUniformDetailsProvider.java | 128 private String formatMatrix(int dimension, Object value) { 131 if (list.size() != dimension * dimension) { 140 for (int i = 0; i < dimension; i++) { 142 JOINER.appendTo(sb, list.subList(i * dimension, (i + 1) * dimension));
|