/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/ |
D | FirstOrderConverter.java | 64 private final int dimension; field in FirstOrderConverter 81 dimension = equations.getDimension(); in FirstOrderConverter() 82 z = new double[dimension]; in FirstOrderConverter() 83 zDot = new double[dimension]; in FirstOrderConverter() 84 zDDot = new double[dimension]; in FirstOrderConverter() 93 return 2 * dimension; in getDimension() 107 System.arraycopy(y, 0, z, 0, dimension); in computeDerivatives() 108 System.arraycopy(y, dimension, zDot, 0, dimension); in computeDerivatives() 114 System.arraycopy(zDot, 0, yDot, 0, dimension); in computeDerivatives() 115 System.arraycopy(zDDot, 0, yDot, dimension, dimension); in computeDerivatives()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/ |
D | MultidimensionalCounter.java | 49 private final int dimension; field in MultidimensionalCounter 74 private final int[] counter = new int[dimension]; 92 for (int i = 0; i < dimension; i++) { in hasNext() 131 … return /* Arrays.*/ copyOf(counter, dimension); // Java 1.5 does not support Arrays.copyOf() in getCounts() 165 dimension = size.length; in MultidimensionalCounter() 166 … this.size = /* Arrays.*/ copyOf(size, dimension); // Java 1.5 does not support Arrays.copyOf() in MultidimensionalCounter() 168 uniCounterOffset = new int[dimension]; in MultidimensionalCounter() 170 last = dimension - 1; in MultidimensionalCounter() 174 for (int j = i + 1; j < dimension; j++) { in MultidimensionalCounter() 204 return dimension; in getDimension() [all …]
|
/external/webrtc/webrtc/modules/audio_processing/vad/ |
D | gmm.cc | 24 int dimension, in RemoveMean() argument 26 for (int n = 0; n < dimension; ++n) in RemoveMean() 32 int dimension) { in ComputeExponent() argument 34 for (int i = 0; i < dimension; ++i) { in ComputeExponent() 36 for (int j = 0; j < dimension; j++) in ComputeExponent() 45 if (gmm_parameters.dimension > kMaxDimension) { in EvaluateGmm() 54 RemoveMean(x, mean_vec, gmm_parameters.dimension, v); in EvaluateGmm() 55 double q = ComputeExponent(v, covar_inv, gmm_parameters.dimension) + in EvaluateGmm() 58 mean_vec += gmm_parameters.dimension; in EvaluateGmm() 59 covar_inv += gmm_parameters.dimension * gmm_parameters.dimension; in EvaluateGmm()
|
/external/pdfium/xfa/src/fxbarcode/qrcode/ |
D | BC_QRBitMatrixParser.cpp | 70 int32_t dimension = m_bitMatrix->GetDimension(e); in ReadFormatInformation() local 73 int32_t iMin = dimension - 8; in ReadFormatInformation() 74 for (j = dimension - 1; j >= iMin; j--) { in ReadFormatInformation() 77 for (int32_t k = dimension - 7; k < dimension; k++) { in ReadFormatInformation() 93 int32_t dimension = m_bitMatrix->GetDimension(e); in ReadVersion() local 95 int32_t provisionVersion = (dimension - 17) >> 2; in ReadVersion() 104 int32_t jMin = dimension - 11; in ReadVersion() 105 for (int32_t j = dimension - 9; j >= jMin; j--) { in ReadVersion() 111 if (m_version != NULL && m_version->GetDimensionForVersion() == dimension) { in ReadVersion() 116 int32_t iMin = dimension - 11; in ReadVersion() [all …]
|
D | BC_QRDetector.cpp | 59 int32_t dimension = ComputeDimension(topLeft.get(), topRight.get(), in ProcessFinderPatternInfo() local 63 CBC_QRCoderVersion::GetProvisionalVersionForDimension(dimension, e); in ProcessFinderPatternInfo() 90 (CBC_ResultPoint*)(alignmentPattern), dimension, e); in ProcessFinderPatternInfo() 111 int32_t dimension, in SampleGrid() argument 113 FX_FLOAT dimMinusThree = (FX_FLOAT)dimension - 3.5f; in SampleGrid() 129 image, dimension, dimension, 3.5f, 3.5f, dimMinusThree, 3.5f, in SampleGrid() 145 int32_t dimension = ((tltrCentersDimension + tlblCentersDimension) >> 1) + 7; in ComputeDimension() local 146 switch (dimension & 0x03) { in ComputeDimension() 148 dimension++; in ComputeDimension() 151 dimension--; in ComputeDimension() [all …]
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/random/ |
D | UnitSphereRandomVectorGenerator.java | 39 private final int dimension; field in UnitSphereRandomVectorGenerator 45 public UnitSphereRandomVectorGenerator(final int dimension, in UnitSphereRandomVectorGenerator() argument 47 this.dimension = dimension; in UnitSphereRandomVectorGenerator() 56 public UnitSphereRandomVectorGenerator(final int dimension) { in UnitSphereRandomVectorGenerator() argument 57 this(dimension, new MersenneTwister()); in UnitSphereRandomVectorGenerator() 63 final double[] v = new double[dimension]; in nextVector() 68 for (int i = 0; i < dimension; i++) { in nextVector() 76 for (int i = 0; i < dimension; i++) { in nextVector()
|
/external/pdfium/xfa/src/fxbarcode/pdf417/ |
D | BC_PDF417.cpp | 424 CFX_Int32Array* dimension = in generateBarcodeLogic() local 427 int32_t cols = dimension->GetAt(0); in generateBarcodeLogic() 428 int32_t rows = dimension->GetAt(1); in generateBarcodeLogic() 429 delete dimension; in generateBarcodeLogic() 543 CFX_Int32Array* dimension = NULL; in determineDimensions() local 555 if (dimension != NULL && in determineDimensions() 560 if (dimension) { in determineDimensions() 561 delete dimension; in determineDimensions() 563 dimension = new CFX_Int32Array; in determineDimensions() 564 dimension->Add(cols); in determineDimensions() [all …]
|
/external/pdfium/third_party/freetype/src/pshinter/ |
D | pshalgo.c | 400 FT_Int dimension ) in ps_simple_scale() argument 414 ps_debug_hint_func( hint, dimension ); in ps_simple_scale() 439 FT_Int dimension, in psh_hint_align() argument 442 PSH_Dimension dim = &globals->dimension[dimension]; in psh_hint_align() 458 if ( ( dimension == 0 && !glyph->do_horz_hints ) || in psh_hint_align() 459 ( dimension == 1 && !glyph->do_vert_hints ) ) in psh_hint_align() 471 do_snapping = ( dimension == 0 && glyph->do_horz_snapping ) || in psh_hint_align() 472 ( dimension == 1 && glyph->do_vert_snapping ); in psh_hint_align() 480 if ( dimension == 1 ) in psh_hint_align() 517 psh_hint_align( parent, globals, dimension, glyph ); in psh_hint_align() [all …]
|
D | pshrec.c | 544 ps_dimension_done( PS_Dimension dimension, in ps_dimension_done() argument 547 ps_mask_table_done( &dimension->counters, memory ); in ps_dimension_done() 548 ps_mask_table_done( &dimension->masks, memory ); in ps_dimension_done() 549 ps_hint_table_done( &dimension->hints, memory ); in ps_dimension_done() 555 ps_dimension_init( PS_Dimension dimension ) in ps_dimension_init() argument 557 dimension->hints.num_hints = 0; in ps_dimension_init() 558 dimension->masks.num_masks = 0; in ps_dimension_init() 559 dimension->counters.num_masks = 0; in ps_dimension_init() 809 ps_dimension_done( &hints->dimension[0], memory ); in ps_hints_done() 810 ps_dimension_done( &hints->dimension[1], memory ); in ps_hints_done() [all …]
|
D | pshglob.c | 44 PSH_Dimension dim = &globals->dimension[direction]; in psh_globals_scale_widths() 85 psh_dimension_snap_width( PSH_Dimension dimension, 89 FT_Pos width = FT_MulFix( org_width, dimension->scale_mult ); 94 for ( n = 0; n < dimension->stdw.count; n++ ) 100 w = dimension->stdw.widths[n].cur; 627 globals->dimension[0].stdw.count = 0; in psh_globals_destroy() 628 globals->dimension[1].stdw.count = 0; in psh_globals_destroy() 663 PSH_Dimension dim = &globals->dimension[1]; in psh_globals_new() 683 PSH_Dimension dim = &globals->dimension[0]; in psh_globals_new() 738 globals->dimension[0].scale_mult = 0; in psh_globals_new() [all …]
|
/external/freetype/src/pshinter/ |
D | pshalgo.c | 400 FT_Int dimension ) in ps_simple_scale() argument 414 ps_debug_hint_func( hint, dimension ); in ps_simple_scale() 439 FT_Int dimension, in psh_hint_align() argument 442 PSH_Dimension dim = &globals->dimension[dimension]; in psh_hint_align() 458 if ( ( dimension == 0 && !glyph->do_horz_hints ) || in psh_hint_align() 459 ( dimension == 1 && !glyph->do_vert_hints ) ) in psh_hint_align() 471 do_snapping = ( dimension == 0 && glyph->do_horz_snapping ) || in psh_hint_align() 472 ( dimension == 1 && glyph->do_vert_snapping ); in psh_hint_align() 480 if ( dimension == 1 ) in psh_hint_align() 517 psh_hint_align( parent, globals, dimension, glyph ); in psh_hint_align() [all …]
|
D | pshrec.c | 544 ps_dimension_done( PS_Dimension dimension, in ps_dimension_done() argument 547 ps_mask_table_done( &dimension->counters, memory ); in ps_dimension_done() 548 ps_mask_table_done( &dimension->masks, memory ); in ps_dimension_done() 549 ps_hint_table_done( &dimension->hints, memory ); in ps_dimension_done() 555 ps_dimension_init( PS_Dimension dimension ) in ps_dimension_init() argument 557 dimension->hints.num_hints = 0; in ps_dimension_init() 558 dimension->masks.num_masks = 0; in ps_dimension_init() 559 dimension->counters.num_masks = 0; in ps_dimension_init() 809 ps_dimension_done( &hints->dimension[0], memory ); in ps_hints_done() 810 ps_dimension_done( &hints->dimension[1], memory ); in ps_hints_done() [all …]
|
D | pshglob.c | 44 PSH_Dimension dim = &globals->dimension[direction]; in psh_globals_scale_widths() 85 psh_dimension_snap_width( PSH_Dimension dimension, 89 FT_Pos width = FT_MulFix( org_width, dimension->scale_mult ); 94 for ( n = 0; n < dimension->stdw.count; n++ ) 100 w = dimension->stdw.widths[n].cur; 627 globals->dimension[0].stdw.count = 0; in psh_globals_destroy() 628 globals->dimension[1].stdw.count = 0; in psh_globals_destroy() 663 PSH_Dimension dim = &globals->dimension[1]; in psh_globals_new() 683 PSH_Dimension dim = &globals->dimension[0]; in psh_globals_new() 738 globals->dimension[0].scale_mult = 0; in psh_globals_new() [all …]
|
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/pshinter/ |
D | pshalgo.c | 400 FT_Int dimension ) in ps_simple_scale() argument 414 ps_debug_hint_func( hint, dimension ); in ps_simple_scale() 439 FT_Int dimension, in psh_hint_align() argument 442 PSH_Dimension dim = &globals->dimension[dimension]; in psh_hint_align() 458 if ( ( dimension == 0 && !glyph->do_horz_hints ) || in psh_hint_align() 459 ( dimension == 1 && !glyph->do_vert_hints ) ) in psh_hint_align() 471 do_snapping = ( dimension == 0 && glyph->do_horz_snapping ) || in psh_hint_align() 472 ( dimension == 1 && glyph->do_vert_snapping ); in psh_hint_align() 480 if ( dimension == 1 ) in psh_hint_align() 517 psh_hint_align( parent, globals, dimension, glyph ); in psh_hint_align() [all …]
|
D | pshrec.c | 544 ps_dimension_done( PS_Dimension dimension, in ps_dimension_done() argument 547 ps_mask_table_done( &dimension->counters, memory ); in ps_dimension_done() 548 ps_mask_table_done( &dimension->masks, memory ); in ps_dimension_done() 549 ps_hint_table_done( &dimension->hints, memory ); in ps_dimension_done() 555 ps_dimension_init( PS_Dimension dimension ) in ps_dimension_init() argument 557 dimension->hints.num_hints = 0; in ps_dimension_init() 558 dimension->masks.num_masks = 0; in ps_dimension_init() 559 dimension->counters.num_masks = 0; in ps_dimension_init() 809 ps_dimension_done( &hints->dimension[0], memory ); in ps_hints_done() 810 ps_dimension_done( &hints->dimension[1], memory ); in ps_hints_done() [all …]
|
D | pshglob.c | 44 PSH_Dimension dim = &globals->dimension[direction]; in psh_globals_scale_widths() 85 psh_dimension_snap_width( PSH_Dimension dimension, 89 FT_Pos width = FT_MulFix( org_width, dimension->scale_mult ); 94 for ( n = 0; n < dimension->stdw.count; n++ ) 100 w = dimension->stdw.widths[n].cur; 627 globals->dimension[0].stdw.count = 0; in psh_globals_destroy() 628 globals->dimension[1].stdw.count = 0; in psh_globals_destroy() 663 PSH_Dimension dim = &globals->dimension[1]; in psh_globals_new() 683 PSH_Dimension dim = &globals->dimension[0]; in psh_globals_new() 738 globals->dimension[0].scale_mult = 0; in psh_globals_new() [all …]
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/nonstiff/ |
D | DormandPrince853StepInterpolator.java | 254 final int dimension = interpolator.currentState.length; in DormandPrince853StepInterpolator() local 258 yDotKLast[k] = new double[dimension]; in DormandPrince853StepInterpolator() 260 dimension); in DormandPrince853StepInterpolator() 265 v[k] = new double[dimension]; in DormandPrince853StepInterpolator() 266 System.arraycopy(interpolator.v[k], 0, v[k], 0, dimension); in DormandPrince853StepInterpolator() 288 final int dimension = currentState.length; in reinitialize() local 292 yDotKLast[k] = new double[dimension]; in reinitialize() 297 v[k] = new double[dimension]; in reinitialize() 444 final int dimension = (currentState == null) ? -1 : currentState.length; in writeExternal() local 445 out.writeInt(dimension); in writeExternal() [all …]
|
D | GraggBulirschStoerStepInterpolator.java | 155 final int dimension = currentState.length; in GraggBulirschStoerStepInterpolator() local 171 polynoms[i] = new double[dimension]; in GraggBulirschStoerStepInterpolator() 173 polynoms[i], 0, dimension); in GraggBulirschStoerStepInterpolator() 314 final int dimension = currentState.length; in computeInterpolatedStateAndDerivatives() local 325 for (int i = 0; i < dimension; ++i) { in computeInterpolatedStateAndDerivatives() 351 System.arraycopy(yMidDots[1], 0, interpolatedDerivatives, 0, dimension); in computeInterpolatedStateAndDerivatives() 361 final int dimension = (currentState == null) ? -1 : currentState.length; in writeExternal() local 369 for (int l = 0; l < dimension; ++l) { in writeExternal() 383 final int dimension = (currentState == null) ? -1 : currentState.length; in readExternal() local 391 for (int l = 0; l < dimension; ++l) { in readExternal()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/moment/ |
D | VectorialCovariance.java | 53 public VectorialCovariance(int dimension, boolean isBiasCorrected) { in VectorialCovariance() argument 54 sums = new double[dimension]; in VectorialCovariance() 55 productsSums = new double[dimension * (dimension + 1) / 2]; in VectorialCovariance() 85 int dimension = sums.length; in getResult() local 86 RealMatrix result = MatrixUtils.createRealMatrix(dimension, dimension); in getResult() 91 for (int i = 0; i < dimension; ++i) { in getResult()
|
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/flame/ |
D | ImagePanel.java | 38 Dimension dimension = super.getPreferredSize(); in getPreferredSize() local 40 dimension.width = image.getWidth(); in getPreferredSize() 41 dimension.height = image.getHeight(); in getPreferredSize() 43 return dimension; in getPreferredSize()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/sampling/ |
D | AbstractStepInterpolator.java | 490 final int dimension = in.readInt(); in readBaseExternal() local 499 if (dimension < 0) { in readBaseExternal() 502 currentState = new double[dimension]; in readBaseExternal() 510 interpolatedState = (dimension < 0) ? null : new double[dimension]; in readBaseExternal() 511 interpolatedDerivatives = (dimension < 0) ? null : new double[dimension]; in readBaseExternal()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/exception/ |
D | DimensionMismatchException.java | 33 private final int dimension; field in DimensionMismatchException 44 dimension = expected; in DimensionMismatchException() 51 return dimension; in getDimension()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/ |
D | SingularValueDecompositionImpl.java | 216 int dimension = 0; in getCovariance() local 217 while ((dimension < p) && (singularValues[dimension] >= minSingularValue)) { in getCovariance() 218 ++dimension; in getCovariance() 221 if (dimension == 0) { in getCovariance() 227 final double[][] data = new double[dimension][p]; in getCovariance() 235 }, 0, dimension - 1, 0, p - 1); in getCovariance()
|
D | MatrixUtils.java | 142 public static RealMatrix createRealIdentityMatrix(int dimension) { in createRealIdentityMatrix() argument 143 final RealMatrix m = createRealMatrix(dimension, dimension); in createRealIdentityMatrix() 144 for (int i = 0; i < dimension; ++i) { in createRealIdentityMatrix() 161 createFieldIdentityMatrix(final Field<T> field, final int dimension) { in createFieldIdentityMatrix() argument 165 … final T[][] d = (T[][]) Array.newInstance(zero.getClass(), new int[] { dimension, dimension }); in createFieldIdentityMatrix() 166 for (int row = 0; row < dimension; row++) { in createFieldIdentityMatrix() 184 public static BigMatrix createBigIdentityMatrix(int dimension) { in createBigIdentityMatrix() argument 185 final BigDecimal[][] d = new BigDecimal[dimension][dimension]; in createBigIdentityMatrix() 186 for (int row = 0; row < dimension; row++) { in createBigIdentityMatrix()
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/MLCPSolvers/ |
D | btLemkeSolver.h | 266 int dimension = A.rows(); 267 if (0==dimension) 273 q.resize(dimension); 274 for (int row=0;row<dimension;row++) 294 for (int i=0;i<dimension;i++) 296 x[i] = solution[i+dimension]; 335 for (int i=0;i<dimension;i++)
|