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

12

/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/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/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/doclava/src/com/google/doclava/
H A DParameterInfo.java88 * 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) { argument
93 dimension += "[]";
95 return mType.dimension().equals(dimension);
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/curves/
H A DBezierCurve.java24 /** 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) { argument
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;
[all...]
/external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/
H A DArraySerializer.java61 private void collectDimensions (Object array, int dimension, int[] dimensions) { argument
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 { argument
115 if (dimension > 0) {
119 boolean elementsAreArrays = dimension < dimensionCoun
133 readArray(Serializer elementSerializer, Class elementClass, ByteBuffer buffer, Object array, int dimension, int[] dimensions) argument
[all...]
/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/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/skia/src/core/
H A DSkBitmapProcState.cpp95 static bool valid_for_filtering(unsigned dimension) { argument
98 return (dimension & ~0x3FFF) == 0;
/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...]
H A DMatrixUtils.java50 * <p>The type of matrix returned depends on the dimension. Below
68 * <p>The type of matrix returned depends on the dimension. Below
91 * <p>The type of matrix returned depends on the dimension. Below
114 * <p>The type of matrix returned depends on the dimension. Below
135 * Returns <code>dimension x dimension</code> identity matrix.
137 * @param dimension dimension of identity matrix to generate
139 * @throws IllegalArgumentException if dimension is not positive
142 public static RealMatrix createRealIdentityMatrix(int dimension) { argument
161 createFieldIdentityMatrix(final Field<T> field, final int dimension) argument
184 createBigIdentityMatrix(int dimension) argument
[all...]
H A DOpenMapRealVector.java63 * Construct a (dimension)-length vector of zeros.
64 * @param dimension size of the vector
66 public OpenMapRealVector(int dimension) { argument
67 this(dimension, DEFAULT_ZERO_TOLERANCE);
71 * Construct a (dimension)-length vector of zeros, specifying zero tolerance.
72 * @param dimension Size of the vector
75 public OpenMapRealVector(int dimension, double epsilon) { argument
76 virtualSize = dimension;
94 * @param dimension The size of the vector
97 public OpenMapRealVector(int dimension, in argument
107 OpenMapRealVector(int dimension, int expectedSize, double epsilon) argument
[all...]
/external/freetype/src/pshinter/
H A Dpshglob.h133 /* dimension 0 => X coordinates + vertical hints/stems */
134 /* dimension 1 => Y coordinates + horizontal hints/stems */
138 PSH_DimensionRec dimension[2]; member in struct:PSH_GlobalsRec_
166 psh_dimension_snap_width( PSH_Dimension dimension,
H A Dpshrec.h114 /* dimension-specific hints descriptor */
125 /* dimension 0 => X coordinates + vertical hints/stems */
126 /* dimension 1 => Y coordinates + horizontal hints/stems */
133 PS_DimensionRec dimension[2]; member in struct:PS_HintsRec_
/external/jmonkeyengine/engine/src/core/com/jme3/collision/
H A DSweepSphere.java47 private Vector3f dimension = new Vector3f(); field in class:SweepSphere
67 return dimension;
70 public void setDimension(Vector3f dimension) { argument
71 this.dimension.set(dimension);
72 this.invDim.set(1,1,1).divideLocal(dimension);
76 this.dimension.set(x,y,z);
77 this.invDim.set(1,1,1).divideLocal(dimension);
81 this.dimension.set(dim, dim, dim);
82 this.invDim.set(1,1,1).divideLocal(dimension);
[all...]
/external/pdfium/third_party/freetype/src/pshinter/
H A Dpshglob.h133 /* dimension 0 => X coordinates + vertical hints/stems */
134 /* dimension 1 => Y coordinates + horizontal hints/stems */
138 PSH_DimensionRec dimension[2]; member in struct:PSH_GlobalsRec_
166 psh_dimension_snap_width( PSH_Dimension dimension,
H A Dpshrec.h118 /* dimension-specific hints descriptor */
129 /* dimension 0 => X coordinates + vertical hints/stems */
130 /* dimension 1 => Y coordinates + horizontal hints/stems */
137 PS_DimensionRec dimension[2]; member in struct:PS_HintsRec_
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.test.performance_3.6.0.v20091014.jar ... fShortName private org.eclipse.test.performance.Dimension[] fSummaryDimensions private boolean fSummaryIsGlobal private int fCommentType private String fComment ...

Completed in 763 milliseconds

12