Home
last modified time | relevance | path

Searched refs:LocalizedFormats (Results 1 – 25 of 159) sorted by relevance

1234567

/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/
DAbstractUnivariateStatistic.java23 import org.apache.commons.math.exception.util.LocalizedFormats;
138 throw new NullArgumentException(LocalizedFormats.INPUT_ARRAY); in test()
142 throw new NotPositiveException(LocalizedFormats.START_POSITION, begin); in test()
146 throw new NotPositiveException(LocalizedFormats.LENGTH, length); in test()
151 LocalizedFormats.SUBARRAY_ENDS_AFTER_ARRAY_END); in test()
198 throw new NullArgumentException(LocalizedFormats.INPUT_ARRAY); in test()
209 LocalizedFormats.NAN_ELEMENT_AT_INDEX, i); in test()
213 LocalizedFormats.INFINITE_ARRAY_ELEMENT, weights[i], i); in test()
217 LocalizedFormats.NEGATIVE_ELEMENT_AT_INDEX, i, weights[i]); in test()
226 LocalizedFormats.WEIGHT_AT_LEAST_ONE_NON_ZERO); in test()
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/regression/
DAbstractMultipleLinearRegression.java20 import org.apache.commons.math.exception.util.LocalizedFormats;
95 LocalizedFormats.NULL_NOT_ALLOWED); in newSampleData()
99 LocalizedFormats.INVALID_REGRESSION_ARRAY, data.length, nobs, nvars); in newSampleData()
103 LocalizedFormats.NOT_ENOUGH_DATA_FOR_NUMBER_OF_PREDICTORS); in newSampleData()
131 LocalizedFormats.NULL_NOT_ALLOWED); in newYSampleData()
135 LocalizedFormats.NO_DATA); in newYSampleData()
166 LocalizedFormats.NULL_NOT_ALLOWED); in newXSampleData()
170 LocalizedFormats.NO_DATA); in newXSampleData()
180 LocalizedFormats.DIFFERENT_ROWS_LENGTHS, in newXSampleData()
207 LocalizedFormats.DIMENSIONS_MISMATCH_SIMPLE, in validateSampleData()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/inference/
DChiSquareTestImpl.java23 import org.apache.commons.math.exception.util.LocalizedFormats;
70 LocalizedFormats.INSUFFICIENT_DIMENSION, expected.length, 2); in chiSquare()
74 LocalizedFormats.DIMENSIONS_MISMATCH_SIMPLE, expected.length, observed.length); in chiSquare()
140 LocalizedFormats.OUT_OF_BOUND_SIGNIFICANCE_LEVEL, in chiSquareTest()
208 LocalizedFormats.OUT_OF_BOUND_SIGNIFICANCE_LEVEL, in chiSquareTest()
227 LocalizedFormats.INSUFFICIENT_DIMENSION, observed1.length, 2); in chiSquareDataSetsComparison()
231 LocalizedFormats.DIMENSIONS_MISMATCH_SIMPLE, in chiSquareDataSetsComparison()
251 LocalizedFormats.OBSERVED_COUNTS_ALL_ZERO, 1); in chiSquareDataSetsComparison()
255 LocalizedFormats.OBSERVED_COUNTS_ALL_ZERO, 2); in chiSquareDataSetsComparison()
270 LocalizedFormats.OBSERVED_COUNTS_BOTTH_ZERO_FOR_ENTRY, i); in chiSquareDataSetsComparison()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/solvers/
DUnivariateRealSolverImpl.java24 import org.apache.commons.math.exception.util.LocalizedFormats;
81 throw new NullArgumentException(LocalizedFormats.FUNCTION); in UnivariateRealSolverImpl()
108 … throw MathRuntimeException.createIllegalStateException(LocalizedFormats.NO_RESULT_AVAILABLE); in checkResultComputed()
159 … throw MathRuntimeException.createUnsupportedOperationException(LocalizedFormats.NOT_OVERRIDEN); in solve()
183 … throw MathRuntimeException.createUnsupportedOperationException(LocalizedFormats.NOT_OVERRIDEN); in solve()
261 LocalizedFormats.ENDPOINTS_NOT_AN_INTERVAL, in verifyInterval()
278 LocalizedFormats.INVALID_INTERVAL_INITIAL_VALUE_PARAMETERS, in verifySequence()
300 LocalizedFormats.SAME_SIGN_AT_ENDPOINTS, in verifyBracketing()
DUnivariateRealSolverUtils.java23 import org.apache.commons.math.exception.util.LocalizedFormats;
171 throw new NullArgumentException(LocalizedFormats.FUNCTION); in bracket()
175 LocalizedFormats.INVALID_MAX_ITERATIONS, maximumIterations); in bracket()
179 LocalizedFormats.INVALID_BRACKETING_PARAMETERS, in bracket()
200 LocalizedFormats.FAILED_BRACKETING, in bracket()
226 throw new NullArgumentException(LocalizedFormats.FUNCTION); in setup()
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
DResizableDoubleArray.java23 import org.apache.commons.math.exception.util.LocalizedFormats;
368 LocalizedFormats.CANNOT_SUBSTITUTE_ELEMENT_FROM_EMPTY_ARRAY); in substituteMostRecentElement()
393 LocalizedFormats.CONTRACTION_CRITERIA_SMALLER_THAN_EXPANSION_FACTOR, in checkContractExpand()
399 LocalizedFormats.CONTRACTION_CRITERIA_SMALLER_THAN_ONE, in checkContractExpand()
405 LocalizedFormats.EXPANSION_FACTOR_SMALLER_THAN_ONE, in checkContractExpand()
492 LocalizedFormats.TOO_MANY_ELEMENTS_TO_DISCARD_FROM_ARRAY, in discardExtremeElements()
496 LocalizedFormats.CANNOT_DISCARD_NEGATIVE_NUMBER_OF_ELEMENTS, in discardExtremeElements()
576 LocalizedFormats.INDEX_LARGER_THAN_MAX, in getElement()
582 LocalizedFormats.CANNOT_RETRIEVE_AT_NEGATIVE_INDEX, in getElement()
711 LocalizedFormats.CANNOT_SET_AT_NEGATIVE_INDEX, in setElement()
[all …]
DMathUtils.java26 import org.apache.commons.math.exception.util.LocalizedFormats;
107 … throw MathRuntimeException.createArithmeticException(LocalizedFormats.OVERFLOW_IN_ADDITION, x, y); in addAndCheck()
123 return addAndCheck(a, b, LocalizedFormats.OVERFLOW_IN_ADDITION); in addAndCheck()
371 LocalizedFormats.BINOMIAL_INVALID_PARAMETERS_ORDER, in checkBinomial()
376 LocalizedFormats.BINOMIAL_NEGATIVE_PARAMETER, in checkBinomial()
797 LocalizedFormats.FACTORIAL_NEGATIVE_PARAMETER,
830 LocalizedFormats.FACTORIAL_NEGATIVE_PARAMETER,
855 LocalizedFormats.FACTORIAL_NEGATIVE_PARAMETER,
903 LocalizedFormats.GCD_OVERFLOW_32_BITS,
929 LocalizedFormats.GCD_OVERFLOW_32_BITS,
[all …]
DContinuedFraction.java22 import org.apache.commons.math.exception.util.LocalizedFormats;
155 LocalizedFormats.CONTINUED_FRACTION_INFINITY_DIVERGENCE, in evaluate()
179 LocalizedFormats.CONTINUED_FRACTION_INFINITY_DIVERGENCE, in evaluate()
187 LocalizedFormats.CONTINUED_FRACTION_NAN_DIVERGENCE, in evaluate()
202 LocalizedFormats.NON_CONVERGENT_CONTINUED_FRACTION, in evaluate()
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/interpolation/
DLoessInterpolator.java25 import org.apache.commons.math.exception.util.LocalizedFormats;
151 throw new MathException(LocalizedFormats.BANDWIDTH_OUT_OF_INTERVAL, in LoessInterpolator()
156 … throw new MathException(LocalizedFormats.NEGATIVE_ROBUSTNESS_ITERATIONS, robustnessIters); in LoessInterpolator()
202 throw new MathException(LocalizedFormats.MISMATCHED_LOESS_ABSCISSA_ORDINATE_ARRAYS, in smooth()
209 throw new MathException(LocalizedFormats.LOESS_EXPECTS_AT_LEAST_ONE_POINT); in smooth()
212 checkAllFiniteReal(xval, LocalizedFormats.NON_REAL_FINITE_ABSCISSA); in smooth()
213 checkAllFiniteReal(yval, LocalizedFormats.NON_REAL_FINITE_ORDINATE); in smooth()
214 checkAllFiniteReal(weights, LocalizedFormats.NON_REAL_FINITE_WEIGHT); in smooth()
229 throw new MathException(LocalizedFormats.TOO_SMALL_BANDWIDTH, in smooth()
362 throw new MathException(LocalizedFormats.MISMATCHED_LOESS_ABSCISSA_ORDINATE_ARRAYS, in smooth()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/exception/
DNonMonotonousSequenceException.java20 import org.apache.commons.math.exception.util.LocalizedFormats;
84 LocalizedFormats.NOT_STRICTLY_INCREASING_SEQUENCE : in NonMonotonousSequenceException()
85 LocalizedFormats.NOT_INCREASING_SEQUENCE) : in NonMonotonousSequenceException()
87 LocalizedFormats.NOT_STRICTLY_DECREASING_SEQUENCE : in NonMonotonousSequenceException()
88 LocalizedFormats.NOT_DECREASING_SEQUENCE), in NonMonotonousSequenceException()
DMathInternalError.java19 import org.apache.commons.math.exception.util.LocalizedFormats;
39 super(LocalizedFormats.INTERNAL_ERROR, REPORT_URL); in MathInternalError()
47 super(LocalizedFormats.INTERNAL_ERROR, REPORT_URL); in MathInternalError()
DNullArgumentException.java20 import org.apache.commons.math.exception.util.LocalizedFormats;
41 super(LocalizedFormats.NULL_NOT_ALLOWED); in NullArgumentException()
48 super(specific, LocalizedFormats.NULL_NOT_ALLOWED); in NullArgumentException()
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/integration/
DUnivariateRealIntegratorImpl.java22 import org.apache.commons.math.exception.util.LocalizedFormats;
74 throw new NullArgumentException(LocalizedFormats.FUNCTION); in UnivariateRealIntegratorImpl()
116 … throw MathRuntimeException.createIllegalStateException(LocalizedFormats.NO_RESULT_AVAILABLE); in getResult()
166 LocalizedFormats.ENDPOINTS_NOT_AN_INTERVAL, in verifyInterval()
179 LocalizedFormats.INVALID_ITERATIONS_LIMITS, in verifyIterationCount()
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
DAbstractFieldMatrix.java27 import org.apache.commons.math.exception.util.LocalizedFormats;
71 LocalizedFormats.INSUFFICIENT_DIMENSION, rowDimension, 1); in AbstractFieldMatrix()
75 LocalizedFormats.INSUFFICIENT_DIMENSION, columnDimension, 1); in AbstractFieldMatrix()
90 … throw MathRuntimeException.createIllegalArgumentException(LocalizedFormats.AT_LEAST_ONE_ROW); in extractField()
93 … throw MathRuntimeException.createIllegalArgumentException(LocalizedFormats.AT_LEAST_ONE_COLUMN); in extractField()
108 … throw MathRuntimeException.createIllegalArgumentException(LocalizedFormats.AT_LEAST_ONE_ROW); in extractField()
341 LocalizedFormats.DIMENSIONS_MISMATCH_2x2, in copySubMatrix()
383 LocalizedFormats.DIMENSIONS_MISMATCH_2x2, in copySubMatrix()
404 … throw MathRuntimeException.createIllegalArgumentException(LocalizedFormats.AT_LEAST_ONE_ROW); in setSubMatrix()
409 … throw MathRuntimeException.createIllegalArgumentException(LocalizedFormats.AT_LEAST_ONE_COLUMN); in setSubMatrix()
[all …]
DRealMatrixImpl.java24 import org.apache.commons.math.exception.util.LocalizedFormats;
127 … throw MathRuntimeException.createIllegalArgumentException(LocalizedFormats.AT_LEAST_ONE_ROW); in RealMatrixImpl()
131 … throw MathRuntimeException.createIllegalArgumentException(LocalizedFormats.AT_LEAST_ONE_COLUMN); in RealMatrixImpl()
136 LocalizedFormats.DIFFERENT_ROWS_LENGTHS, in RealMatrixImpl()
321 LocalizedFormats.FIRST_ROWS_NOT_INITIALIZED_YET, in setSubMatrix()
326 LocalizedFormats.FIRST_COLUMNS_NOT_INITIALIZED_YET, in setSubMatrix()
331 … throw MathRuntimeException.createIllegalArgumentException(LocalizedFormats.AT_LEAST_ONE_ROW); in setSubMatrix()
336 … throw MathRuntimeException.createIllegalArgumentException(LocalizedFormats.AT_LEAST_ONE_COLUMN); in setSubMatrix()
342 LocalizedFormats.DIFFERENT_ROWS_LENGTHS, in setSubMatrix()
361 LocalizedFormats.NO_SUCH_MATRIX_ENTRY, in getEntry()
[all …]
DArray2DRowRealMatrix.java24 import org.apache.commons.math.exception.util.LocalizedFormats;
126 LocalizedFormats.AT_LEAST_ONE_ROW); in Array2DRowRealMatrix()
131 LocalizedFormats.AT_LEAST_ONE_COLUMN); in Array2DRowRealMatrix()
136 LocalizedFormats.DIFFERENT_ROWS_LENGTHS, nCols, d[r].length); in Array2DRowRealMatrix()
320 LocalizedFormats.FIRST_ROWS_NOT_INITIALIZED_YET, row); in setSubMatrix()
324 LocalizedFormats.FIRST_COLUMNS_NOT_INITIALIZED_YET, column); in setSubMatrix()
329 LocalizedFormats.AT_LEAST_ONE_ROW); in setSubMatrix()
335 LocalizedFormats.AT_LEAST_ONE_COLUMN); in setSubMatrix()
341 LocalizedFormats.DIFFERENT_ROWS_LENGTHS, nCols, subMatrix[i].length); in setSubMatrix()
359LocalizedFormats.NO_SUCH_MATRIX_ENTRY, row, column, getRowDimension(), getColumnDimension()); in getEntry()
[all …]
DBigMatrixImpl.java23 import org.apache.commons.math.exception.util.LocalizedFormats;
107 LocalizedFormats.INSUFFICIENT_DIMENSION, rowDimension, 1); in BigMatrixImpl()
111 LocalizedFormats.INSUFFICIENT_DIMENSION, columnDimension, 1); in BigMatrixImpl()
158 … throw MathRuntimeException.createIllegalArgumentException(LocalizedFormats.AT_LEAST_ONE_ROW); in BigMatrixImpl()
163 … throw MathRuntimeException.createIllegalArgumentException(LocalizedFormats.AT_LEAST_ONE_COLUMN); in BigMatrixImpl()
168 LocalizedFormats.DIFFERENT_ROWS_LENGTHS, in BigMatrixImpl()
191 … throw MathRuntimeException.createIllegalArgumentException(LocalizedFormats.AT_LEAST_ONE_ROW); in BigMatrixImpl()
196 … throw MathRuntimeException.createIllegalArgumentException(LocalizedFormats.AT_LEAST_ONE_COLUMN); in BigMatrixImpl()
201 LocalizedFormats.DIFFERENT_ROWS_LENGTHS, in BigMatrixImpl()
221 … throw MathRuntimeException.createIllegalArgumentException(LocalizedFormats.AT_LEAST_ONE_ROW); in BigMatrixImpl()
[all …]
DArray2DRowFieldMatrix.java26 import org.apache.commons.math.exception.util.LocalizedFormats;
117 LocalizedFormats.AT_LEAST_ONE_ROW); in Array2DRowFieldMatrix()
122 LocalizedFormats.AT_LEAST_ONE_COLUMN); in Array2DRowFieldMatrix()
127 LocalizedFormats.DIFFERENT_ROWS_LENGTHS, nCols, d[r].length); in Array2DRowFieldMatrix()
312 LocalizedFormats.FIRST_ROWS_NOT_INITIALIZED_YET, row); in setSubMatrix()
316 LocalizedFormats.FIRST_COLUMNS_NOT_INITIALIZED_YET, column); in setSubMatrix()
321 LocalizedFormats.AT_LEAST_ONE_ROW); in setSubMatrix()
327 LocalizedFormats.AT_LEAST_ONE_COLUMN); in setSubMatrix()
333 LocalizedFormats.DIFFERENT_ROWS_LENGTHS, nCols, subMatrix[i].length); in setSubMatrix()
351LocalizedFormats.NO_SUCH_MATRIX_ENTRY, row, column, getRowDimension(), getColumnDimension()); in getEntry()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/random/
DRandomDataImpl.java44 import org.apache.commons.math.exception.util.LocalizedFormats;
155 throw new NotStrictlyPositiveException(LocalizedFormats.LENGTH, len); in nextHexString()
201 throw new NumberIsTooLargeException(LocalizedFormats.LOWER_BOUND_NOT_BELOW_UPPER_BOUND, in nextInt()
221 throw new NumberIsTooLargeException(LocalizedFormats.LOWER_BOUND_NOT_BELOW_UPPER_BOUND, in nextLong()
251 throw new NotStrictlyPositiveException(LocalizedFormats.LENGTH, len); in nextSecureHexString()
312 throw new NumberIsTooLargeException(LocalizedFormats.LOWER_BOUND_NOT_BELOW_UPPER_BOUND, in nextSecureInt()
333 throw new NumberIsTooLargeException(LocalizedFormats.LOWER_BOUND_NOT_BELOW_UPPER_BOUND, in nextSecureLong()
359 throw new NotStrictlyPositiveException(LocalizedFormats.MEAN, mean); in nextPoisson()
463 throw new NotStrictlyPositiveException(LocalizedFormats.STANDARD_DEVIATION, sigma);
484 throw new NotStrictlyPositiveException(LocalizedFormats.MEAN, mean);
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
DAbstractIntegerDistribution.java23 import org.apache.commons.math.exception.util.LocalizedFormats;
91 LocalizedFormats.LOWER_ENDPOINT_ABOVE_UPPER_ENDPOINT, x0, x1); in cumulativeProbability()
148 LocalizedFormats.LOWER_ENDPOINT_ABOVE_UPPER_ENDPOINT, x0, x1); in cumulativeProbability()
167 LocalizedFormats.OUT_OF_RANGE_SIMPLE, p, 0.0, 1.0); in inverseCumulativeProbability()
246 …MathRuntimeException.createIllegalArgumentException(LocalizedFormats.NOT_POSITIVE_SAMPLE_SIZE, sam… in sample()
269 … throw new MathException(LocalizedFormats.DISCRETE_CUMULATIVE_PROBABILITY_RETURNED_NAN, argument); in checkedCumulativeProbability()
DAbstractContinuousDistribution.java28 import org.apache.commons.math.exception.util.LocalizedFormats;
74 LocalizedFormats.NO_DENSITY_FOR_THIS_DISTRIBUTION); in density()
92 LocalizedFormats.OUT_OF_RANGE_SIMPLE, p, 0.0, 1.0); in inverseCumulativeProbability()
107 …throw new FunctionEvaluationException(x, LocalizedFormats.CUMULATIVE_PROBABILITY_RETURNED_NAN, x, … in inverseCumulativeProbability()
180 …MathRuntimeException.createIllegalArgumentException(LocalizedFormats.NOT_POSITIVE_SAMPLE_SIZE, sam… in sample()
/external/apache-commons-math/src/main/java/org/apache/commons/math/fraction/
DFraction.java24 import org.apache.commons.math.exception.util.LocalizedFormats;
259 LocalizedFormats.ZERO_DENOMINATOR_IN_FRACTION, num, den); in Fraction()
264 LocalizedFormats.OVERFLOW_IN_FRACTION, num, den); in Fraction()
407 LocalizedFormats.OVERFLOW_IN_FRACTION, numerator, denominator); in negate()
478 throw new NullArgumentException(LocalizedFormats.FRACTION); in addSub()
515 …throw MathRuntimeException.createArithmeticException(LocalizedFormats.NUMERATOR_OVERFLOW_AFTER_MUL… in addSub()
535 throw new NullArgumentException(LocalizedFormats.FRACTION); in multiply()
570 throw new NullArgumentException(LocalizedFormats.FRACTION); in divide()
574 LocalizedFormats.ZERO_FRACTION_TO_DIVIDE_BY, in divide()
603 LocalizedFormats.ZERO_DENOMINATOR_IN_FRACTION, numerator, denominator); in getReducedFraction()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/transform/
DFastFourierTransformer.java26 import org.apache.commons.math.exception.util.LocalizedFormats;
435 LocalizedFormats.NOT_POSITIVE_NUMBER_OF_SAMPLES, in sample()
497 LocalizedFormats.NOT_POWER_OF_TWO_CONSIDER_PADDING, d.length); in verifyDataSet()
510 LocalizedFormats.NOT_POWER_OF_TWO_CONSIDER_PADDING, o.length); in verifyDataSet()
526 LocalizedFormats.ENDPOINTS_NOT_AN_INTERVAL, in verifyInterval()
664 LocalizedFormats.DIMENSIONS_MISMATCH_SIMPLE, 0, dimensionSize.length); in get()
670LocalizedFormats.DIMENSIONS_MISMATCH_SIMPLE, vector.length, dimensionSize.length); in get()
693 LocalizedFormats.DIMENSIONS_MISMATCH_SIMPLE, 0, dimensionSize.length); in set()
699LocalizedFormats.DIMENSIONS_MISMATCH_SIMPLE, vector.length,dimensionSize.length); in set()
814 …throw MathRuntimeException.createIllegalStateException(LocalizedFormats.ROOTS_OF_UNITY_NOT_COMPUTE… in isForward()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/geometry/
DCardanEulerSingularityException.java21 import org.apache.commons.math.exception.util.LocalizedFormats;
42 …super(isCardan ? LocalizedFormats.CARDAN_ANGLES_SINGULARITY : LocalizedFormats.EULER_ANGLES_SINGUL… in CardanEulerSingularityException()
/external/apache-commons-math/src/main/java/org/apache/commons/math/genetics/
DListPopulation.java23 import org.apache.commons.math.exception.util.LocalizedFormats;
50 …throw new NumberIsTooLargeException(LocalizedFormats.LIST_OF_CHROMOSOMES_BIGGER_THAN_POPULATION_SI… in ListPopulation()
54 … throw new NotPositiveException(LocalizedFormats.POPULATION_LIMIT_NOT_POSITIVE, populationLimit); in ListPopulation()
69 … throw new NotPositiveException(LocalizedFormats.POPULATION_LIMIT_NOT_POSITIVE, populationLimit); in ListPopulation()

1234567