HomeSort by relevance Sort by last modified time
    Searched refs:dimension (Results 1 - 25 of 348) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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;
  /cts/suite/cts/deviceTests/browserbench/assets/octane/js/
bootstrap-collapse.js 44 , dimension: function () {
50 var dimension
57 dimension = this.dimension()
58 scroll = $.camelCase(['scroll', dimension].join('-'))
68 this.$element[dimension](0)
70 this.$element[dimension](this.$element[0][scroll])
74 var dimension
76 dimension = this.dimension()
    [all...]
  /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/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/
ArraySerializer.java 61 private void collectDimensions (Object array, int dimension, int[] dimensions) {
62 boolean elementsAreArrays = dimension < dimensions.length - 1;
66 dimensions[dimension] = Math.max(dimensions[dimension], Array.getLength(element));
67 if (elementsAreArrays) collectDimensions(element, dimension + 1, dimensions);
101 for (int dimension : dimensions) buffer.putInt(dimension);
113 private void writeArray(Serializer elementSerializer, ByteBuffer buffer, Object array, int dimension, int dimensionCount) throws IOException {
115 if (dimension > 0) {
119 boolean elementsAreArrays = dimension < dimensionCount - 1
    [all...]
  /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/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...]
RungeKuttaStepInterpolator.java 84 final int dimension = currentState.length; local
88 yDotK[k] = new double[dimension];
90 yDotK[k], 0, dimension);
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/curves/
BezierCurve.java 24 /** The dimension of the curve. */
25 private int dimension; field in class:BezierCurve
30 public BezierCurve(final int type, final List<Structure> bezTriples, final int dimension) {
31 if (dimension != 2 && dimension != 3) {
32 throw new IllegalArgumentException("The dimension of the curve should be 2 or 3!");
35 this.dimension = dimension;
39 bezierPoints = new float[bezTriples.size()][3][dimension];
44 for (k = 0; k < dimension; ++k) {
    [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)
  /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...]
pshrec.c 542 /* finalize a given dimension */
544 ps_dimension_done( PS_Dimension dimension,
547 ps_mask_table_done( &dimension->counters, memory );
548 ps_mask_table_done( &dimension->masks, memory );
549 ps_hint_table_done( &dimension->hints, memory );
553 /* initialize a given dimension */
555 ps_dimension_init( PS_Dimension dimension )
557 dimension->hints.num_hints = 0;
558 dimension->masks.num_masks = 0;
559 dimension->counters.num_masks = 0
    [all...]
  /external/pdfium/third_party/freetype/src/pshinter/
pshalgo.c 402 FT_Int dimension )
416 ps_debug_hint_func( hint, dimension );
441 FT_Int dimension,
444 PSH_Dimension dim = &globals->dimension[dimension];
460 if ( ( dimension == 0 && !glyph->do_horz_hints ) ||
461 ( dimension == 1 && !glyph->do_vert_hints ) )
473 do_snapping = ( dimension == 0 && glyph->do_horz_snapping ) ||
474 ( dimension == 1 && glyph->do_vert_snapping );
482 if ( dimension == 1
2188 FT_Int dimension; local
    [all...]
pshrec.c 534 /* finalize a given dimension */
536 ps_dimension_done( PS_Dimension dimension,
539 ps_mask_table_done( &dimension->counters, memory );
540 ps_mask_table_done( &dimension->masks, memory );
541 ps_hint_table_done( &dimension->hints, memory );
545 /* initialize a given dimension */
547 ps_dimension_init( PS_Dimension dimension )
549 dimension->hints.num_hints = 0;
550 dimension->masks.num_masks = 0;
551 dimension->counters.num_masks = 0
    [all...]
  /frameworks/rs/api/
rs_for_each.spec 64 field: uint32_t xStart, "Starting index in the X dimension."
65 field: uint32_t xEnd, "Ending index (exclusive) in the X dimension."
66 field: uint32_t yStart, "Starting index in the Y dimension."
67 field: uint32_t yEnd, "Ending index (exclusive) in the Y dimension."
68 field: uint32_t zStart, "Starting index in the Z dimension."
69 field: uint32_t zEnd, "Ending index (exclusive) in the Z dimension."
70 field: uint32_t arrayStart, "Starting index in the Array0 dimension."
71 field: uint32_t arrayEnd, "Ending index (exclusive) in the Array0 dimension."
72 field: uint32_t array1Start, "Starting index in the Array1 dimension."
73 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));
  /external/doclava/src/com/google/doclava/
ParameterInfo.java 88 * Returns true if this parameter's dimension information agrees
89 * with the represented callee's dimension information.
91 public boolean matchesDimension(String dimension, boolean varargs) {
93 dimension += "[]";
95 return mType.dimension().equals(dimension);

Completed in 601 milliseconds

1 2 3 4 5 6 7 8 91011>>