Moved the localization framework used for exceptions in the exceptions package.

Its former place (in the utils package) was misleading as utils is rather for
numerical utilities, not low level library management


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@981404 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Luc Maisonobe 2010-08-02 08:10:39 +00:00
parent e58f83acb8
commit 6c99076d1e
178 changed files with 189 additions and 196 deletions

View File

@ -16,9 +16,9 @@
*/ */
package org.apache.commons.math; package org.apache.commons.math;
import org.apache.commons.math.util.DummyLocalizable; import org.apache.commons.math.exception.DummyLocalizable;
import org.apache.commons.math.util.Localizable; import org.apache.commons.math.exception.Localizable;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
/** /**
* Error thrown when a numerical computation can not be performed because the * Error thrown when a numerical computation can not be performed because the

View File

@ -16,7 +16,7 @@
*/ */
package org.apache.commons.math; package org.apache.commons.math;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
/** /**
* Error thrown when two dimensions differ. * Error thrown when two dimensions differ.

View File

@ -16,7 +16,7 @@
*/ */
package org.apache.commons.math; package org.apache.commons.math;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
/** /**
* Exception thrown when a sample contains several entries at the same abscissa. * Exception thrown when a sample contains several entries at the same abscissa.

View File

@ -16,10 +16,10 @@
*/ */
package org.apache.commons.math; package org.apache.commons.math;
import org.apache.commons.math.exception.DummyLocalizable;
import org.apache.commons.math.exception.Localizable;
import org.apache.commons.math.exception.LocalizedFormats;
import org.apache.commons.math.linear.ArrayRealVector; import org.apache.commons.math.linear.ArrayRealVector;
import org.apache.commons.math.util.DummyLocalizable;
import org.apache.commons.math.util.Localizable;
import org.apache.commons.math.util.LocalizedFormats;
/** /**
* Exception thrown when an error occurs evaluating a function. * Exception thrown when an error occurs evaluating a function.

View File

@ -18,8 +18,8 @@ package org.apache.commons.math;
import java.io.Serializable; import java.io.Serializable;
import org.apache.commons.math.util.DummyLocalizable; import org.apache.commons.math.exception.DummyLocalizable;
import org.apache.commons.math.util.Localizable; import org.apache.commons.math.exception.Localizable;
/** /**
* Signals a configuration problem with any of the factory methods. * Signals a configuration problem with any of the factory methods.

View File

@ -21,9 +21,9 @@ import java.io.PrintWriter;
import java.text.MessageFormat; import java.text.MessageFormat;
import java.util.Locale; import java.util.Locale;
import org.apache.commons.math.util.DummyLocalizable; import org.apache.commons.math.exception.DummyLocalizable;
import org.apache.commons.math.util.Localizable; import org.apache.commons.math.exception.Localizable;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
/** /**

View File

@ -26,9 +26,9 @@ import java.util.ConcurrentModificationException;
import java.util.Locale; import java.util.Locale;
import java.util.NoSuchElementException; import java.util.NoSuchElementException;
import org.apache.commons.math.util.DummyLocalizable; import org.apache.commons.math.exception.DummyLocalizable;
import org.apache.commons.math.util.Localizable; import org.apache.commons.math.exception.Localizable;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
/** /**
* Base class for commons-math unchecked exceptions. * Base class for commons-math unchecked exceptions.

View File

@ -18,9 +18,9 @@
package org.apache.commons.math; package org.apache.commons.math;
import org.apache.commons.math.ConvergenceException; import org.apache.commons.math.ConvergenceException;
import org.apache.commons.math.util.DummyLocalizable; import org.apache.commons.math.exception.DummyLocalizable;
import org.apache.commons.math.util.Localizable; import org.apache.commons.math.exception.Localizable;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
/** /**
* Error thrown when a numerical computation exceeds its allowed * Error thrown when a numerical computation exceeds its allowed

View File

@ -18,9 +18,9 @@
package org.apache.commons.math; package org.apache.commons.math;
import org.apache.commons.math.ConvergenceException; import org.apache.commons.math.ConvergenceException;
import org.apache.commons.math.util.DummyLocalizable; import org.apache.commons.math.exception.DummyLocalizable;
import org.apache.commons.math.util.Localizable; import org.apache.commons.math.exception.Localizable;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
/** /**
* Error thrown when a numerical computation exceeds its allowed * Error thrown when a numerical computation exceeds its allowed

View File

@ -21,7 +21,7 @@ import org.apache.commons.math.FunctionEvaluationException;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.MaxIterationsExceededException; import org.apache.commons.math.MaxIterationsExceededException;
import org.apache.commons.math.analysis.UnivariateRealFunction; import org.apache.commons.math.analysis.UnivariateRealFunction;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
/** /**
* Implements the <a href="http://mathworld.wolfram.com/Legendre-GaussQuadrature.html"> * Implements the <a href="http://mathworld.wolfram.com/Legendre-GaussQuadrature.html">

View File

@ -20,7 +20,7 @@ import org.apache.commons.math.FunctionEvaluationException;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.MaxIterationsExceededException; import org.apache.commons.math.MaxIterationsExceededException;
import org.apache.commons.math.analysis.UnivariateRealFunction; import org.apache.commons.math.analysis.UnivariateRealFunction;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
/** /**
* Implements the <a href="http://mathworld.wolfram.com/RombergIntegration.html"> * Implements the <a href="http://mathworld.wolfram.com/RombergIntegration.html">

View File

@ -20,7 +20,7 @@ import org.apache.commons.math.FunctionEvaluationException;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.MaxIterationsExceededException; import org.apache.commons.math.MaxIterationsExceededException;
import org.apache.commons.math.analysis.UnivariateRealFunction; import org.apache.commons.math.analysis.UnivariateRealFunction;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
/** /**
* Implements the <a href="http://mathworld.wolfram.com/SimpsonsRule.html"> * Implements the <a href="http://mathworld.wolfram.com/SimpsonsRule.html">

View File

@ -20,7 +20,7 @@ import org.apache.commons.math.FunctionEvaluationException;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.MaxIterationsExceededException; import org.apache.commons.math.MaxIterationsExceededException;
import org.apache.commons.math.analysis.UnivariateRealFunction; import org.apache.commons.math.analysis.UnivariateRealFunction;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
/** /**
* Implements the <a href="http://mathworld.wolfram.com/TrapezoidalRule.html"> * Implements the <a href="http://mathworld.wolfram.com/TrapezoidalRule.html">

View File

@ -19,7 +19,7 @@ package org.apache.commons.math.analysis.integration;
import org.apache.commons.math.ConvergingAlgorithmImpl; import org.apache.commons.math.ConvergingAlgorithmImpl;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.analysis.UnivariateRealFunction; import org.apache.commons.math.analysis.UnivariateRealFunction;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
/** /**
* Provide a default implementation for several generic functions. * Provide a default implementation for several generic functions.

View File

@ -17,11 +17,11 @@
package org.apache.commons.math.analysis.interpolation; package org.apache.commons.math.analysis.interpolation;
import org.apache.commons.math.exception.DimensionMismatchException; import org.apache.commons.math.exception.DimensionMismatchException;
import org.apache.commons.math.exception.LocalizedFormats;
import org.apache.commons.math.exception.NumberIsTooSmallException; import org.apache.commons.math.exception.NumberIsTooSmallException;
import org.apache.commons.math.analysis.polynomials.PolynomialFunction; import org.apache.commons.math.analysis.polynomials.PolynomialFunction;
import org.apache.commons.math.analysis.polynomials.PolynomialSplineFunction; import org.apache.commons.math.analysis.polynomials.PolynomialSplineFunction;
import org.apache.commons.math.util.MathUtils; import org.apache.commons.math.util.MathUtils;
import org.apache.commons.math.util.LocalizedFormats;
/** /**
* Implements a linear function for interpolation of real univariate functions. * Implements a linear function for interpolation of real univariate functions.

View File

@ -21,8 +21,8 @@ import java.util.Arrays;
import org.apache.commons.math.MathException; import org.apache.commons.math.MathException;
import org.apache.commons.math.analysis.polynomials.PolynomialSplineFunction; import org.apache.commons.math.analysis.polynomials.PolynomialSplineFunction;
import org.apache.commons.math.util.Localizable; import org.apache.commons.math.exception.Localizable;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
/** /**
* Implements the <a href="http://en.wikipedia.org/wiki/Local_regression"> * Implements the <a href="http://en.wikipedia.org/wiki/Local_regression">

View File

@ -19,11 +19,11 @@ package org.apache.commons.math.analysis.interpolation;
import org.apache.commons.math.DimensionMismatchException; import org.apache.commons.math.DimensionMismatchException;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.MathException; import org.apache.commons.math.MathException;
import org.apache.commons.math.util.LocalizedFormats;
import org.apache.commons.math.util.MathUtils; import org.apache.commons.math.util.MathUtils;
import org.apache.commons.math.util.MathUtils.OrderDirection; import org.apache.commons.math.util.MathUtils.OrderDirection;
import org.apache.commons.math.analysis.UnivariateRealFunction; import org.apache.commons.math.analysis.UnivariateRealFunction;
import org.apache.commons.math.analysis.polynomials.PolynomialSplineFunction; import org.apache.commons.math.analysis.polynomials.PolynomialSplineFunction;
import org.apache.commons.math.exception.LocalizedFormats;
/** /**
* Generates a bicubic interpolation function. * Generates a bicubic interpolation function.

View File

@ -17,11 +17,11 @@
package org.apache.commons.math.analysis.interpolation; package org.apache.commons.math.analysis.interpolation;
import org.apache.commons.math.exception.DimensionMismatchException; import org.apache.commons.math.exception.DimensionMismatchException;
import org.apache.commons.math.exception.LocalizedFormats;
import org.apache.commons.math.exception.NumberIsTooSmallException; import org.apache.commons.math.exception.NumberIsTooSmallException;
import org.apache.commons.math.analysis.polynomials.PolynomialFunction; import org.apache.commons.math.analysis.polynomials.PolynomialFunction;
import org.apache.commons.math.analysis.polynomials.PolynomialSplineFunction; import org.apache.commons.math.analysis.polynomials.PolynomialSplineFunction;
import org.apache.commons.math.util.MathUtils; import org.apache.commons.math.util.MathUtils;
import org.apache.commons.math.util.LocalizedFormats;
/** /**
* Computes a natural (also known as "free", "unclamped") cubic spline interpolation for the data set. * Computes a natural (also known as "free", "unclamped") cubic spline interpolation for the data set.

View File

@ -19,10 +19,10 @@ package org.apache.commons.math.analysis.polynomials;
import java.io.Serializable; import java.io.Serializable;
import java.util.Arrays; import java.util.Arrays;
import org.apache.commons.math.exception.LocalizedFormats;
import org.apache.commons.math.exception.NoDataException; import org.apache.commons.math.exception.NoDataException;
import org.apache.commons.math.analysis.DifferentiableUnivariateRealFunction; import org.apache.commons.math.analysis.DifferentiableUnivariateRealFunction;
import org.apache.commons.math.analysis.UnivariateRealFunction; import org.apache.commons.math.analysis.UnivariateRealFunction;
import org.apache.commons.math.util.LocalizedFormats;
/** /**
* Immutable representation of a real polynomial function with real coefficients. * Immutable representation of a real polynomial function with real coefficients.

View File

@ -20,7 +20,7 @@ import org.apache.commons.math.DuplicateSampleAbscissaException;
import org.apache.commons.math.FunctionEvaluationException; import org.apache.commons.math.FunctionEvaluationException;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.analysis.UnivariateRealFunction; import org.apache.commons.math.analysis.UnivariateRealFunction;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
/** /**
* Implements the representation of a real polynomial function in * Implements the representation of a real polynomial function in

View File

@ -19,7 +19,7 @@ package org.apache.commons.math.analysis.polynomials;
import org.apache.commons.math.FunctionEvaluationException; import org.apache.commons.math.FunctionEvaluationException;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.analysis.UnivariateRealFunction; import org.apache.commons.math.analysis.UnivariateRealFunction;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
/** /**
* Implements the representation of a real polynomial function in * Implements the representation of a real polynomial function in

View File

@ -22,7 +22,7 @@ import org.apache.commons.math.ArgumentOutsideDomainException;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.analysis.DifferentiableUnivariateRealFunction; import org.apache.commons.math.analysis.DifferentiableUnivariateRealFunction;
import org.apache.commons.math.analysis.UnivariateRealFunction; import org.apache.commons.math.analysis.UnivariateRealFunction;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
/** /**
* Represents a polynomial spline function. * Represents a polynomial spline function.

View File

@ -21,7 +21,7 @@ import org.apache.commons.math.FunctionEvaluationException;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.MaxIterationsExceededException; import org.apache.commons.math.MaxIterationsExceededException;
import org.apache.commons.math.analysis.UnivariateRealFunction; import org.apache.commons.math.analysis.UnivariateRealFunction;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
/** /**
* Implements the <a href="http://mathworld.wolfram.com/BrentsMethod.html"> * Implements the <a href="http://mathworld.wolfram.com/BrentsMethod.html">

View File

@ -23,7 +23,7 @@ import org.apache.commons.math.MaxIterationsExceededException;
import org.apache.commons.math.analysis.UnivariateRealFunction; import org.apache.commons.math.analysis.UnivariateRealFunction;
import org.apache.commons.math.analysis.polynomials.PolynomialFunction; import org.apache.commons.math.analysis.polynomials.PolynomialFunction;
import org.apache.commons.math.complex.Complex; import org.apache.commons.math.complex.Complex;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
/** /**
* Implements the <a href="http://mathworld.wolfram.com/LaguerresMethod.html"> * Implements the <a href="http://mathworld.wolfram.com/LaguerresMethod.html">

View File

@ -22,7 +22,7 @@ import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.MaxIterationsExceededException; import org.apache.commons.math.MaxIterationsExceededException;
import org.apache.commons.math.analysis.DifferentiableUnivariateRealFunction; import org.apache.commons.math.analysis.DifferentiableUnivariateRealFunction;
import org.apache.commons.math.analysis.UnivariateRealFunction; import org.apache.commons.math.analysis.UnivariateRealFunction;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
/** /**
* Implements <a href="http://mathworld.wolfram.com/NewtonsMethod.html"> * Implements <a href="http://mathworld.wolfram.com/NewtonsMethod.html">

View File

@ -21,7 +21,7 @@ import org.apache.commons.math.FunctionEvaluationException;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.MaxIterationsExceededException; import org.apache.commons.math.MaxIterationsExceededException;
import org.apache.commons.math.analysis.UnivariateRealFunction; import org.apache.commons.math.analysis.UnivariateRealFunction;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
/** /**

View File

@ -21,7 +21,7 @@ import org.apache.commons.math.ConvergingAlgorithmImpl;
import org.apache.commons.math.FunctionEvaluationException; import org.apache.commons.math.FunctionEvaluationException;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.analysis.UnivariateRealFunction; import org.apache.commons.math.analysis.UnivariateRealFunction;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
/** /**
* Provide a default implementation for several functions useful to generic * Provide a default implementation for several functions useful to generic

View File

@ -20,7 +20,7 @@ import org.apache.commons.math.FunctionEvaluationException;
import org.apache.commons.math.ConvergenceException; import org.apache.commons.math.ConvergenceException;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.analysis.UnivariateRealFunction; import org.apache.commons.math.analysis.UnivariateRealFunction;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
/** /**
* Utility routines for {@link UnivariateRealSolver} objects. * Utility routines for {@link UnivariateRealSolver} objects.

View File

@ -23,7 +23,7 @@ import java.util.List;
import org.apache.commons.math.FieldElement; import org.apache.commons.math.FieldElement;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
import org.apache.commons.math.util.MathUtils; import org.apache.commons.math.util.MathUtils;
/** /**

View File

@ -24,8 +24,8 @@ import java.text.ParsePosition;
import java.util.Locale; import java.util.Locale;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.exception.LocalizedFormats;
import org.apache.commons.math.util.CompositeFormat; import org.apache.commons.math.util.CompositeFormat;
import org.apache.commons.math.util.LocalizedFormats;
/** /**
* Formats a Complex number in cartesian format "Re(c) + Im(c)i". 'i' can * Formats a Complex number in cartesian format "Re(c) + Im(c)i". 'i' can

View File

@ -18,7 +18,7 @@
package org.apache.commons.math.complex; package org.apache.commons.math.complex;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
/** /**
* Static implementations of common * Static implementations of common

View File

@ -25,8 +25,8 @@ import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.analysis.UnivariateRealFunction; import org.apache.commons.math.analysis.UnivariateRealFunction;
import org.apache.commons.math.analysis.solvers.BrentSolver; import org.apache.commons.math.analysis.solvers.BrentSolver;
import org.apache.commons.math.analysis.solvers.UnivariateRealSolverUtils; import org.apache.commons.math.analysis.solvers.UnivariateRealSolverUtils;
import org.apache.commons.math.exception.LocalizedFormats;
import org.apache.commons.math.random.RandomDataImpl; import org.apache.commons.math.random.RandomDataImpl;
import org.apache.commons.math.util.LocalizedFormats;
/** /**
* Base class for continuous distributions. Default implementations are * Base class for continuous distributions. Default implementations are

View File

@ -20,7 +20,7 @@ import java.io.Serializable;
import org.apache.commons.math.MathException; import org.apache.commons.math.MathException;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
/** /**
* Base class for probability distributions. * Base class for probability distributions.

View File

@ -21,8 +21,8 @@ import java.io.Serializable;
import org.apache.commons.math.FunctionEvaluationException; import org.apache.commons.math.FunctionEvaluationException;
import org.apache.commons.math.MathException; import org.apache.commons.math.MathException;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.exception.LocalizedFormats;
import org.apache.commons.math.random.RandomDataImpl; import org.apache.commons.math.random.RandomDataImpl;
import org.apache.commons.math.util.LocalizedFormats;
/** /**

View File

@ -18,9 +18,9 @@ package org.apache.commons.math.distribution;
import org.apache.commons.math.MathException; import org.apache.commons.math.MathException;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.exception.LocalizedFormats;
import org.apache.commons.math.special.Gamma; import org.apache.commons.math.special.Gamma;
import org.apache.commons.math.special.Beta; import org.apache.commons.math.special.Beta;
import org.apache.commons.math.util.LocalizedFormats;
/** /**
* Implements the Beta distribution. * Implements the Beta distribution.

View File

@ -20,8 +20,8 @@ import java.io.Serializable;
import org.apache.commons.math.MathException; import org.apache.commons.math.MathException;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.exception.LocalizedFormats;
import org.apache.commons.math.special.Beta; import org.apache.commons.math.special.Beta;
import org.apache.commons.math.util.LocalizedFormats;
/** /**
* The default implementation of {@link BinomialDistribution}. * The default implementation of {@link BinomialDistribution}.

View File

@ -20,7 +20,7 @@ package org.apache.commons.math.distribution;
import java.io.Serializable; import java.io.Serializable;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
/** /**
* Default implementation of * Default implementation of

View File

@ -20,7 +20,7 @@ import java.io.Serializable;
import org.apache.commons.math.MathException; import org.apache.commons.math.MathException;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
/** /**
* The default implementation of {@link ExponentialDistribution}. * The default implementation of {@link ExponentialDistribution}.

View File

@ -20,8 +20,8 @@ import java.io.Serializable;
import org.apache.commons.math.MathException; import org.apache.commons.math.MathException;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.exception.LocalizedFormats;
import org.apache.commons.math.special.Beta; import org.apache.commons.math.special.Beta;
import org.apache.commons.math.util.LocalizedFormats;
/** /**
* Default implementation of * Default implementation of

View File

@ -20,8 +20,8 @@ import java.io.Serializable;
import org.apache.commons.math.MathException; import org.apache.commons.math.MathException;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.exception.LocalizedFormats;
import org.apache.commons.math.special.Gamma; import org.apache.commons.math.special.Gamma;
import org.apache.commons.math.util.LocalizedFormats;
/** /**
* The default implementation of {@link GammaDistribution}. * The default implementation of {@link GammaDistribution}.

View File

@ -20,7 +20,7 @@ package org.apache.commons.math.distribution;
import java.io.Serializable; import java.io.Serializable;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
import org.apache.commons.math.util.MathUtils; import org.apache.commons.math.util.MathUtils;
/** /**

View File

@ -22,8 +22,8 @@ import java.io.Serializable;
import org.apache.commons.math.MathException; import org.apache.commons.math.MathException;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.MaxIterationsExceededException; import org.apache.commons.math.MaxIterationsExceededException;
import org.apache.commons.math.exception.LocalizedFormats;
import org.apache.commons.math.special.Erf; import org.apache.commons.math.special.Erf;
import org.apache.commons.math.util.LocalizedFormats;
/** /**
* Default implementation of * Default implementation of

View File

@ -20,8 +20,8 @@ import java.io.Serializable;
import org.apache.commons.math.MathException; import org.apache.commons.math.MathException;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.exception.LocalizedFormats;
import org.apache.commons.math.special.Beta; import org.apache.commons.math.special.Beta;
import org.apache.commons.math.util.LocalizedFormats;
import org.apache.commons.math.util.MathUtils; import org.apache.commons.math.util.MathUtils;
/** /**

View File

@ -20,8 +20,8 @@ import java.io.Serializable;
import org.apache.commons.math.MathException; import org.apache.commons.math.MathException;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.exception.LocalizedFormats;
import org.apache.commons.math.special.Gamma; import org.apache.commons.math.special.Gamma;
import org.apache.commons.math.util.LocalizedFormats;
import org.apache.commons.math.util.MathUtils; import org.apache.commons.math.util.MathUtils;
/** /**

View File

@ -20,9 +20,9 @@ import java.io.Serializable;
import org.apache.commons.math.MathException; import org.apache.commons.math.MathException;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.exception.LocalizedFormats;
import org.apache.commons.math.special.Beta; import org.apache.commons.math.special.Beta;
import org.apache.commons.math.special.Gamma; import org.apache.commons.math.special.Gamma;
import org.apache.commons.math.util.LocalizedFormats;
/** /**
* Default implementation of * Default implementation of

View File

@ -20,7 +20,7 @@ package org.apache.commons.math.distribution;
import java.io.Serializable; import java.io.Serializable;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
/** /**
* Default implementation of * Default implementation of

View File

@ -20,7 +20,7 @@ package org.apache.commons.math.distribution;
import java.io.Serializable; import java.io.Serializable;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
/** /**
* Implementation for the {@link ZipfDistribution}. * Implementation for the {@link ZipfDistribution}.

View File

@ -19,11 +19,11 @@ package org.apache.commons.math.estimation;
import java.util.Arrays; import java.util.Arrays;
import org.apache.commons.math.exception.LocalizedFormats;
import org.apache.commons.math.linear.InvalidMatrixException; import org.apache.commons.math.linear.InvalidMatrixException;
import org.apache.commons.math.linear.LUDecompositionImpl; import org.apache.commons.math.linear.LUDecompositionImpl;
import org.apache.commons.math.linear.MatrixUtils; import org.apache.commons.math.linear.MatrixUtils;
import org.apache.commons.math.linear.RealMatrix; import org.apache.commons.math.linear.RealMatrix;
import org.apache.commons.math.util.LocalizedFormats;
/** /**
* Base class for implementing estimators. * Base class for implementing estimators.

View File

@ -18,8 +18,8 @@
package org.apache.commons.math.estimation; package org.apache.commons.math.estimation;
import org.apache.commons.math.MathException; import org.apache.commons.math.MathException;
import org.apache.commons.math.util.DummyLocalizable; import org.apache.commons.math.exception.DummyLocalizable;
import org.apache.commons.math.util.Localizable; import org.apache.commons.math.exception.Localizable;
/** /**
* This class represents exceptions thrown by the estimation solvers. * This class represents exceptions thrown by the estimation solvers.

View File

@ -19,13 +19,13 @@ package org.apache.commons.math.estimation;
import java.io.Serializable; import java.io.Serializable;
import org.apache.commons.math.exception.LocalizedFormats;
import org.apache.commons.math.linear.InvalidMatrixException; import org.apache.commons.math.linear.InvalidMatrixException;
import org.apache.commons.math.linear.LUDecompositionImpl; import org.apache.commons.math.linear.LUDecompositionImpl;
import org.apache.commons.math.linear.MatrixUtils; import org.apache.commons.math.linear.MatrixUtils;
import org.apache.commons.math.linear.RealMatrix; import org.apache.commons.math.linear.RealMatrix;
import org.apache.commons.math.linear.RealVector; import org.apache.commons.math.linear.RealVector;
import org.apache.commons.math.linear.ArrayRealVector; import org.apache.commons.math.linear.ArrayRealVector;
import org.apache.commons.math.util.LocalizedFormats;
/** /**
* This class implements a solver for estimation problems. * This class implements a solver for estimation problems.

View File

@ -19,7 +19,7 @@ package org.apache.commons.math.estimation;
import java.io.Serializable; import java.io.Serializable;
import java.util.Arrays; import java.util.Arrays;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
/** /**

View File

@ -16,7 +16,6 @@
*/ */
package org.apache.commons.math.exception; package org.apache.commons.math.exception;
import org.apache.commons.math.util.LocalizedFormats;
/** /**
* Exception to be thrown when two dimensions differ. * Exception to be thrown when two dimensions differ.

View File

@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.apache.commons.math.util; package org.apache.commons.math.exception;
import java.util.Locale; import java.util.Locale;

View File

@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.apache.commons.math.util; package org.apache.commons.math.exception;
import java.io.Serializable; import java.io.Serializable;
import java.util.Locale; import java.util.Locale;

View File

@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.apache.commons.math.util; package org.apache.commons.math.exception;
import java.util.Locale; import java.util.Locale;
import java.util.MissingResourceException; import java.util.MissingResourceException;

View File

@ -19,7 +19,6 @@ package org.apache.commons.math.exception;
import java.util.Locale; import java.util.Locale;
import java.util.List; import java.util.List;
import java.util.ArrayList; import java.util.ArrayList;
import org.apache.commons.math.util.Localizable;
/** /**
* Base class for all preconditions violation exceptions. * Base class for all preconditions violation exceptions.

View File

@ -16,7 +16,6 @@
*/ */
package org.apache.commons.math.exception; package org.apache.commons.math.exception;
import org.apache.commons.math.util.Localizable;
/** /**
* Base class for exceptions raised by a wrong number. * Base class for exceptions raised by a wrong number.

View File

@ -18,7 +18,6 @@ package org.apache.commons.math.exception;
import java.text.MessageFormat; import java.text.MessageFormat;
import java.util.Locale; import java.util.Locale;
import org.apache.commons.math.util.Localizable;
/** /**
* Class for constructing localized messages. * Class for constructing localized messages.

View File

@ -16,8 +16,6 @@
*/ */
package org.apache.commons.math.exception; package org.apache.commons.math.exception;
import org.apache.commons.math.util.Localizable;
import org.apache.commons.math.util.LocalizedFormats;
/** /**
* Exception to be thrown when the required data is missing. * Exception to be thrown when the required data is missing.

View File

@ -16,7 +16,6 @@
*/ */
package org.apache.commons.math.exception; package org.apache.commons.math.exception;
import org.apache.commons.math.util.LocalizedFormats;
import org.apache.commons.math.util.MathUtils; import org.apache.commons.math.util.MathUtils;
/** /**

View File

@ -16,7 +16,6 @@
*/ */
package org.apache.commons.math.exception; package org.apache.commons.math.exception;
import org.apache.commons.math.util.Localizable;
/** /**
* Exception to be thrown when the argument is negative. * Exception to be thrown when the argument is negative.

View File

@ -16,7 +16,6 @@
*/ */
package org.apache.commons.math.exception; package org.apache.commons.math.exception;
import org.apache.commons.math.util.Localizable;
/** /**
* Exception to be thrown when the argument is negative. * Exception to be thrown when the argument is negative.

View File

@ -16,8 +16,6 @@
*/ */
package org.apache.commons.math.exception; package org.apache.commons.math.exception;
import org.apache.commons.math.util.Localizable;
import org.apache.commons.math.util.LocalizedFormats;
/** /**
* Exception to be thrown when a number is too large. * Exception to be thrown when a number is too large.

View File

@ -16,8 +16,6 @@
*/ */
package org.apache.commons.math.exception; package org.apache.commons.math.exception;
import org.apache.commons.math.util.Localizable;
import org.apache.commons.math.util.LocalizedFormats;
/** /**
* Exception to be thrown when a number is too small. * Exception to be thrown when a number is too small.

View File

@ -16,7 +16,6 @@
*/ */
package org.apache.commons.math.exception; package org.apache.commons.math.exception;
import org.apache.commons.math.util.LocalizedFormats;
/** /**
* Exception to be thrown when some argument is out of range. * Exception to be thrown when some argument is out of range.

View File

@ -16,8 +16,6 @@
*/ */
package org.apache.commons.math.exception; package org.apache.commons.math.exception;
import org.apache.commons.math.util.Localizable;
import org.apache.commons.math.util.LocalizedFormats;
/** /**
* Exception to be thrown when zero is provided where it is not allowed. * Exception to be thrown when zero is provided where it is not allowed.

View File

@ -17,6 +17,7 @@
--> -->
<!-- $Revision$ $Date$ --> <!-- $Revision$ $Date$ -->
<body> <body>
Specialized exceptions for algorithms errors. Specialized exceptions for algorithms errors. The exceptions can be localized
using simple java properties.
</body> </body>
</html> </html>

View File

@ -24,7 +24,7 @@ import java.text.ParsePosition;
import java.util.Locale; import java.util.Locale;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
/** /**
* Common part shared by both {@link FractionFormat} and {@link BigFractionFormat}. * Common part shared by both {@link FractionFormat} and {@link BigFractionFormat}.

View File

@ -22,7 +22,7 @@ import java.math.BigInteger;
import org.apache.commons.math.FieldElement; import org.apache.commons.math.FieldElement;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
import org.apache.commons.math.util.MathUtils; import org.apache.commons.math.util.MathUtils;
/** /**

View File

@ -26,7 +26,7 @@ import java.text.ParsePosition;
import java.util.Locale; import java.util.Locale;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
/** /**
* Formats a BigFraction number in proper format or improper format. * Formats a BigFraction number in proper format or improper format.

View File

@ -21,7 +21,7 @@ import java.math.BigInteger;
import org.apache.commons.math.FieldElement; import org.apache.commons.math.FieldElement;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
import org.apache.commons.math.util.MathUtils; import org.apache.commons.math.util.MathUtils;
/** /**

View File

@ -18,7 +18,7 @@
package org.apache.commons.math.fraction; package org.apache.commons.math.fraction;
import org.apache.commons.math.ConvergenceException; import org.apache.commons.math.ConvergenceException;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
/** /**
* Error thrown when a double value cannot be converted to a fraction * Error thrown when a double value cannot be converted to a fraction

View File

@ -25,7 +25,7 @@ import java.util.Locale;
import org.apache.commons.math.ConvergenceException; import org.apache.commons.math.ConvergenceException;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
/** /**
* Formats a Fraction number in proper format or improper format. The number * Formats a Fraction number in proper format or improper format. The number

View File

@ -22,7 +22,7 @@ import java.text.NumberFormat;
import java.text.ParsePosition; import java.text.ParsePosition;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
/** /**
* Formats a BigFraction number in proper format. The number format for each of * Formats a BigFraction number in proper format. The number format for each of

View File

@ -21,7 +21,7 @@ import java.text.NumberFormat;
import java.text.ParsePosition; import java.text.ParsePosition;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
import org.apache.commons.math.util.MathUtils; import org.apache.commons.math.util.MathUtils;
/** /**

View File

@ -20,9 +20,9 @@ import java.util.ArrayList;
import java.util.Iterator; import java.util.Iterator;
import java.util.List; import java.util.List;
import org.apache.commons.math.exception.LocalizedFormats;
import org.apache.commons.math.exception.NotPositiveException; import org.apache.commons.math.exception.NotPositiveException;
import org.apache.commons.math.exception.NumberIsTooLargeException; import org.apache.commons.math.exception.NumberIsTooLargeException;
import org.apache.commons.math.util.LocalizedFormats;
/** /**
* Population of chromosomes represented by a {@link List}. * Population of chromosomes represented by a {@link List}.

View File

@ -20,7 +20,7 @@ import java.util.ArrayList;
import java.util.List; import java.util.List;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
/** /**
* Mutation operator for {@link RandomKey}s. Changes a randomly chosen element * Mutation operator for {@link RandomKey}s. Changes a randomly chosen element

View File

@ -18,7 +18,7 @@
package org.apache.commons.math.geometry; package org.apache.commons.math.geometry;
import org.apache.commons.math.MathException; import org.apache.commons.math.MathException;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
/** This class represents exceptions thrown while extractiong Cardan /** This class represents exceptions thrown while extractiong Cardan
* or Euler angles from a rotation. * or Euler angles from a rotation.

View File

@ -18,7 +18,7 @@
package org.apache.commons.math.geometry; package org.apache.commons.math.geometry;
import org.apache.commons.math.MathException; import org.apache.commons.math.MathException;
import org.apache.commons.math.util.Localizable; import org.apache.commons.math.exception.Localizable;
/** /**
* This class represents exceptions thrown while building rotations * This class represents exceptions thrown while building rotations

View File

@ -20,7 +20,7 @@ package org.apache.commons.math.geometry;
import java.io.Serializable; import java.io.Serializable;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
/** /**
* This class implements rotations in a three-dimensional space. * This class implements rotations in a three-dimensional space.

View File

@ -20,7 +20,7 @@ package org.apache.commons.math.geometry;
import java.io.Serializable; import java.io.Serializable;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
import org.apache.commons.math.util.MathUtils; import org.apache.commons.math.util.MathUtils;
/** /**

View File

@ -24,8 +24,8 @@ import java.text.ParsePosition;
import java.util.Locale; import java.util.Locale;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.exception.LocalizedFormats;
import org.apache.commons.math.util.CompositeFormat; import org.apache.commons.math.util.CompositeFormat;
import org.apache.commons.math.util.LocalizedFormats;
/** /**
* Formats a 3D vector in components list format "{x; y; z}". * Formats a 3D vector in components list format "{x; y; z}".

View File

@ -23,7 +23,7 @@ import java.util.Arrays;
import org.apache.commons.math.Field; import org.apache.commons.math.Field;
import org.apache.commons.math.FieldElement; import org.apache.commons.math.FieldElement;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
/** /**
* Basic implementation of {@link FieldMatrix} methods regardless of the underlying storage. * Basic implementation of {@link FieldMatrix} methods regardless of the underlying storage.

View File

@ -18,7 +18,7 @@
package org.apache.commons.math.linear; package org.apache.commons.math.linear;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
import org.apache.commons.math.util.MathUtils; import org.apache.commons.math.util.MathUtils;
/** /**

View File

@ -25,7 +25,7 @@ import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.analysis.BinaryFunction; import org.apache.commons.math.analysis.BinaryFunction;
import org.apache.commons.math.analysis.ComposableFunction; import org.apache.commons.math.analysis.ComposableFunction;
import org.apache.commons.math.analysis.UnivariateRealFunction; import org.apache.commons.math.analysis.UnivariateRealFunction;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
/** /**
* This class provides default basic implementations for many methods in the * This class provides default basic implementations for many methods in the

View File

@ -22,7 +22,7 @@ import java.io.Serializable;
import org.apache.commons.math.Field; import org.apache.commons.math.Field;
import org.apache.commons.math.FieldElement; import org.apache.commons.math.FieldElement;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
/** /**
* Implementation of FieldMatrix<T> using a {@link FieldElement}[][] array to store entries. * Implementation of FieldMatrix<T> using a {@link FieldElement}[][] array to store entries.

View File

@ -20,7 +20,7 @@ package org.apache.commons.math.linear;
import java.io.Serializable; import java.io.Serializable;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
/** /**
* Implementation of RealMatrix using a double[][] array to store entries and * Implementation of RealMatrix using a double[][] array to store entries and

View File

@ -23,7 +23,7 @@ import java.util.Arrays;
import org.apache.commons.math.Field; import org.apache.commons.math.Field;
import org.apache.commons.math.FieldElement; import org.apache.commons.math.FieldElement;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
/** /**
* This class implements the {@link FieldVector} interface with a {@link FieldElement} array. * This class implements the {@link FieldVector} interface with a {@link FieldElement} array.

View File

@ -21,7 +21,7 @@ import java.util.Arrays;
import java.util.Iterator; import java.util.Iterator;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
import org.apache.commons.math.util.MathUtils; import org.apache.commons.math.util.MathUtils;
/** /**

View File

@ -20,7 +20,7 @@ import java.io.Serializable;
import java.math.BigDecimal; import java.math.BigDecimal;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
/** /**
* Implementation of {@link BigMatrix} using a BigDecimal[][] array to store entries * Implementation of {@link BigMatrix} using a BigDecimal[][] array to store entries

View File

@ -22,7 +22,7 @@ import java.io.Serializable;
import org.apache.commons.math.Field; import org.apache.commons.math.Field;
import org.apache.commons.math.FieldElement; import org.apache.commons.math.FieldElement;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
/** /**
* Cache-friendly implementation of FieldMatrix using a flat arrays to store * Cache-friendly implementation of FieldMatrix using a flat arrays to store

View File

@ -21,7 +21,7 @@ import java.io.Serializable;
import java.util.Arrays; import java.util.Arrays;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
/** /**
* Cache-friendly implementation of RealMatrix using a flat arrays to store * Cache-friendly implementation of RealMatrix using a flat arrays to store

View File

@ -18,7 +18,7 @@
package org.apache.commons.math.linear; package org.apache.commons.math.linear;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
/** /**

View File

@ -19,7 +19,7 @@ package org.apache.commons.math.linear;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.MaxIterationsExceededException; import org.apache.commons.math.MaxIterationsExceededException;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
import org.apache.commons.math.util.MathUtils; import org.apache.commons.math.util.MathUtils;
/** /**

View File

@ -22,7 +22,7 @@ import java.lang.reflect.Array;
import org.apache.commons.math.Field; import org.apache.commons.math.Field;
import org.apache.commons.math.FieldElement; import org.apache.commons.math.FieldElement;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
/** /**
* Calculates the LUP-decomposition of a square matrix. * Calculates the LUP-decomposition of a square matrix.

View File

@ -18,8 +18,8 @@
package org.apache.commons.math.linear; package org.apache.commons.math.linear;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.util.DummyLocalizable; import org.apache.commons.math.exception.DummyLocalizable;
import org.apache.commons.math.util.Localizable; import org.apache.commons.math.exception.Localizable;
/** /**
* Thrown when a system attempts an operation on a matrix, and * Thrown when a system attempts an operation on a matrix, and

View File

@ -18,7 +18,7 @@
package org.apache.commons.math.linear; package org.apache.commons.math.linear;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.util.LocalizedFormats; import org.apache.commons.math.exception.LocalizedFormats;
/** /**
* Calculates the LUP-decomposition of a square matrix. * Calculates the LUP-decomposition of a square matrix.

View File

@ -18,8 +18,8 @@
package org.apache.commons.math.linear; package org.apache.commons.math.linear;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.util.DummyLocalizable; import org.apache.commons.math.exception.DummyLocalizable;
import org.apache.commons.math.util.Localizable; import org.apache.commons.math.exception.Localizable;
/** /**
* Thrown when an operation addresses a matrix coordinate (row, col) * Thrown when an operation addresses a matrix coordinate (row, col)

View File

@ -27,9 +27,9 @@ import java.util.Arrays;
import org.apache.commons.math.Field; import org.apache.commons.math.Field;
import org.apache.commons.math.FieldElement; import org.apache.commons.math.FieldElement;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.exception.LocalizedFormats;
import org.apache.commons.math.fraction.BigFraction; import org.apache.commons.math.fraction.BigFraction;
import org.apache.commons.math.fraction.Fraction; import org.apache.commons.math.fraction.Fraction;
import org.apache.commons.math.util.LocalizedFormats;
/** /**
* A collection of static methods that operate on or return matrices. * A collection of static methods that operate on or return matrices.

View File

@ -18,7 +18,7 @@
package org.apache.commons.math.linear; package org.apache.commons.math.linear;
import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MathRuntimeException;
import org.apache.commons.math.util.Localizable; import org.apache.commons.math.exception.Localizable;
/** /**
* Thrown when a visitor encounters an error while processing a matrix entry. * Thrown when a visitor encounters an error while processing a matrix entry.

Some files were not shown because too many files have changed in this diff Show More