You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ps...@apache.org on 2009/09/05 19:37:05 UTC
svn commit: r811685 [7/24] - in /commons/proper/math/trunk: ./
src/main/java/org/apache/commons/math/
src/main/java/org/apache/commons/math/analysis/
src/main/java/org/apache/commons/math/analysis/integration/
src/main/java/org/apache/commons/math/anal...
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/FieldVector.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/FieldVector.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/FieldVector.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/FieldVector.java Sat Sep 5 17:36:48 2009
@@ -38,7 +38,7 @@
* <pre>
* RealVector result = v.mapAddToSelf(3.0).mapTanToSelf().mapSquareToSelf();
* </pre>
- *
+ *
* @param <T> the type of the field elements
* @version $Revision$ $Date$
* @since 2.0
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/LUDecomposition.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/LUDecomposition.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/LUDecomposition.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/LUDecomposition.java Sat Sep 5 17:36:48 2009
@@ -19,7 +19,7 @@
/**
- * An interface to classes that implement an algorithm to calculate the
+ * An interface to classes that implement an algorithm to calculate the
* LU-decomposition of a real matrix.
* <p>The LU-decomposition of matrix A is a set of three matrices: P, L and U
* such that P×A = L×U. P is a rows permutation matrix that is used
@@ -37,7 +37,7 @@
* by a {@link #getSolver() getSolver} method and the equivalent methods provided by
* the returned {@link DecompositionSolver}.</li>
* </ul>
- *
+ *
* @see <a href="http://mathworld.wolfram.com/LUDecomposition.html">MathWorld</a>
* @see <a href="http://en.wikipedia.org/wiki/LU_decomposition">Wikipedia</a>
* @version $Revision$ $Date$
@@ -46,14 +46,14 @@
public interface LUDecomposition {
/**
- * Returns the matrix L of the decomposition.
+ * Returns the matrix L of the decomposition.
* <p>L is an lower-triangular matrix</p>
* @return the L matrix (or null if decomposed matrix is singular)
*/
RealMatrix getL();
/**
- * Returns the matrix U of the decomposition.
+ * Returns the matrix U of the decomposition.
* <p>U is an upper-triangular matrix</p>
* @return the U matrix (or null if decomposed matrix is singular)
*/
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/LUDecompositionImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/LUDecompositionImpl.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/LUDecompositionImpl.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/LUDecompositionImpl.java Sat Sep 5 17:36:48 2009
@@ -58,7 +58,7 @@
private static final double DEFAULT_TOO_SMALL = 10E-12;
/**
- * Calculates the LU-decomposition of the given matrix.
+ * Calculates the LU-decomposition of the given matrix.
* @param matrix The matrix to decompose.
* @exception InvalidMatrixException if matrix is not square
*/
@@ -68,7 +68,7 @@
}
/**
- * Calculates the LU-decomposition of the given matrix.
+ * Calculates the LU-decomposition of the given matrix.
* @param matrix The matrix to decompose.
* @param singularityThreshold threshold (based on partial row norm)
* under which a matrix is considered singular
@@ -228,7 +228,7 @@
/** Specialized solver. */
private static class Solver implements DecompositionSolver {
-
+
/** Entries of LU decomposition. */
private final double lu[][];
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/MatrixUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/MatrixUtils.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/MatrixUtils.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/MatrixUtils.java Sat Sep 5 17:36:48 2009
@@ -32,7 +32,7 @@
/**
* A collection of static methods that operate on or return matrices.
- *
+ *
* @version $Revision$ $Date$
*/
public class MatrixUtils {
@@ -43,7 +43,7 @@
private MatrixUtils() {
super();
}
-
+
/**
* Returns a {@link RealMatrix} with specified dimensions.
* <p>The type of matrix returned depends on the dimension. Below
@@ -93,7 +93,7 @@
* Array2DRowRealMatrix} instance is built. Above this threshold a {@link
* BlockRealMatrix} instance is built.</p>
* <p>The input array is copied, not referenced.</p>
- *
+ *
* @param data input array
* @return RealMatrix containing the values of the array
* @throws IllegalArgumentException if <code>data</code> is not rectangular
@@ -189,7 +189,7 @@
}
return new BigMatrixImpl(d, false);
}
-
+
/**
* Returns a diagonal matrix with specified elements.
*
@@ -205,7 +205,7 @@
}
return m;
}
-
+
/**
* Returns a diagonal matrix with specified elements.
*
@@ -224,11 +224,11 @@
}
return m;
}
-
+
/**
* Returns a {@link BigMatrix} whose entries are the the values in the
* the input array. The input array is copied, not referenced.
- *
+ *
* @param data input array
* @return RealMatrix containing the values of the array
* @throws IllegalArgumentException if <code>data</code> is not rectangular
@@ -240,11 +240,11 @@
public static BigMatrix createBigMatrix(double[][] data) {
return new BigMatrixImpl(data);
}
-
+
/**
* Returns a {@link BigMatrix} whose entries are the the values in the
* the input array. The input array is copied, not referenced.
- *
+ *
* @param data input array
* @return RealMatrix containing the values of the array
* @throws IllegalArgumentException if <code>data</code> is not rectangular
@@ -282,7 +282,7 @@
/**
* Returns a {@link BigMatrix} whose entries are the the values in the
* the input array. The input array is copied, not referenced.
- *
+ *
* @param data input array
* @return RealMatrix containing the values of the array
* @throws IllegalArgumentException if <code>data</code> is not rectangular
@@ -294,10 +294,10 @@
public static BigMatrix createBigMatrix(String[][] data) {
return new BigMatrixImpl(data);
}
-
+
/**
- * Creates a {@link RealVector} using the data from the input array.
- *
+ * Creates a {@link RealVector} using the data from the input array.
+ *
* @param data the input data
* @return a data.length RealVector
* @throws IllegalArgumentException if <code>data</code> is empty
@@ -306,10 +306,10 @@
public static RealVector createRealVector(double[] data) {
return new ArrayRealVector(data, true);
}
-
+
/**
- * Creates a {@link FieldVector} using the data from the input array.
- *
+ * Creates a {@link FieldVector} using the data from the input array.
+ *
* @param <T> the type of the field elements
* @param data the input data
* @return a data.length FieldVector
@@ -319,11 +319,11 @@
public static <T extends FieldElement<T>> FieldVector<T> createFieldVector(final T[] data) {
return new ArrayFieldVector<T>(data, true);
}
-
+
/**
* Creates a row {@link RealMatrix} using the data from the input
- * array.
- *
+ * array.
+ *
* @param rowData the input row data
* @return a 1 x rowData.length RealMatrix
* @throws IllegalArgumentException if <code>rowData</code> is empty
@@ -337,11 +337,11 @@
}
return m;
}
-
+
/**
* Creates a row {@link FieldMatrix} using the data from the input
- * array.
- *
+ * array.
+ *
* @param <T> the type of the field elements
* @param rowData the input row data
* @return a 1 x rowData.length FieldMatrix
@@ -352,7 +352,7 @@
createRowFieldMatrix(final T[] rowData) {
final int nCols = rowData.length;
if (nCols == 0) {
- throw MathRuntimeException.createIllegalArgumentException("matrix must have at least one column");
+ throw MathRuntimeException.createIllegalArgumentException("matrix must have at least one column");
}
final FieldMatrix<T> m = createFieldMatrix(rowData[0].getField(), 1, nCols);
for (int i = 0; i < nCols; ++i) {
@@ -360,11 +360,11 @@
}
return m;
}
-
+
/**
* Creates a row {@link BigMatrix} using the data from the input
- * array.
- *
+ * array.
+ *
* @param rowData the input row data
* @return a 1 x rowData.length BigMatrix
* @throws IllegalArgumentException if <code>rowData</code> is empty
@@ -380,11 +380,11 @@
}
return new BigMatrixImpl(data, false);
}
-
+
/**
* Creates a row {@link BigMatrix} using the data from the input
- * array.
- *
+ * array.
+ *
* @param rowData the input row data
* @return a 1 x rowData.length BigMatrix
* @throws IllegalArgumentException if <code>rowData</code> is empty
@@ -398,11 +398,11 @@
System.arraycopy(rowData, 0, data[0], 0, nCols);
return new BigMatrixImpl(data, false);
}
-
+
/**
* Creates a row {@link BigMatrix} using the data from the input
- * array.
- *
+ * array.
+ *
* @param rowData the input row data
* @return a 1 x rowData.length BigMatrix
* @throws IllegalArgumentException if <code>rowData</code> is empty
@@ -418,11 +418,11 @@
}
return new BigMatrixImpl(data, false);
}
-
+
/**
* Creates a column {@link RealMatrix} using the data from the input
* array.
- *
+ *
* @param columnData the input column data
* @return a columnData x 1 RealMatrix
* @throws IllegalArgumentException if <code>columnData</code> is empty
@@ -436,11 +436,11 @@
}
return m;
}
-
+
/**
* Creates a column {@link FieldMatrix} using the data from the input
* array.
- *
+ *
* @param <T> the type of the field elements
* @param columnData the input column data
* @return a columnData x 1 FieldMatrix
@@ -451,7 +451,7 @@
createColumnFieldMatrix(final T[] columnData) {
final int nRows = columnData.length;
if (nRows == 0) {
- throw MathRuntimeException.createIllegalArgumentException("matrix must have at least one row");
+ throw MathRuntimeException.createIllegalArgumentException("matrix must have at least one row");
}
final FieldMatrix<T> m = createFieldMatrix(columnData[0].getField(), nRows, 1);
for (int i = 0; i < nRows; ++i) {
@@ -459,11 +459,11 @@
}
return m;
}
-
+
/**
* Creates a column {@link BigMatrix} using the data from the input
* array.
- *
+ *
* @param columnData the input column data
* @return a columnData x 1 BigMatrix
* @throws IllegalArgumentException if <code>columnData</code> is empty
@@ -479,11 +479,11 @@
}
return new BigMatrixImpl(data, false);
}
-
+
/**
* Creates a column {@link BigMatrix} using the data from the input
* array.
- *
+ *
* @param columnData the input column data
* @return a columnData x 1 BigMatrix
* @throws IllegalArgumentException if <code>columnData</code> is empty
@@ -499,11 +499,11 @@
}
return new BigMatrixImpl(data, false);
}
-
+
/**
* Creates a column {@link BigMatrix} using the data from the input
* array.
- *
+ *
* @param columnData the input column data
* @return a columnData x 1 BigMatrix
* @throws IllegalArgumentException if <code>columnData</code> is empty
@@ -575,7 +575,7 @@
startColumn, endColumn);
}
-
+
}
/**
@@ -777,7 +777,7 @@
* }
* </code></pre>
* </p>
- *
+ *
* @param vector real vector to serialize
* @param oos stream where the real vector should be written
* @exception IOException if object cannot be written to stream
@@ -878,7 +878,7 @@
* }
* </code></pre>
* </p>
- *
+ *
* @param matrix real matrix to serialize
* @param oos stream where the real matrix should be written
* @exception IOException if object cannot be written to stream
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/NotPositiveDefiniteMatrixException.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/NotPositiveDefiniteMatrixException.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/NotPositiveDefiniteMatrixException.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/NotPositiveDefiniteMatrixException.java Sat Sep 5 17:36:48 2009
@@ -19,10 +19,10 @@
import org.apache.commons.math.MathException;
-/**
+/**
* This class represents exceptions thrown when a matrix expected to
* be positive definite is not.
- *
+ *
* @since 1.2
* @version $Revision$ $Date$
*/
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/NotSymmetricMatrixException.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/NotSymmetricMatrixException.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/NotSymmetricMatrixException.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/NotSymmetricMatrixException.java Sat Sep 5 17:36:48 2009
@@ -19,10 +19,10 @@
import org.apache.commons.math.MathException;
-/**
+/**
* This class represents exceptions thrown when a matrix expected to
* be symmetric is not
- *
+ *
* @since 2.0
* @version $Revision$ $Date$
*/
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/OpenMapRealMatrix.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/OpenMapRealMatrix.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/OpenMapRealMatrix.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/OpenMapRealMatrix.java Sat Sep 5 17:36:48 2009
@@ -23,7 +23,7 @@
/**
* Sparse matrix implementation based on an open addressed map.
- *
+ *
* @version $Revision$ $Date$
* @since 2.0
*/
@@ -52,7 +52,7 @@
this.columns = columnDimension;
this.entries = new OpenIntToDoubleHashMap(0.0);
}
-
+
/**
* Build a matrix by copying another one.
* @param matrix matrix to copy
@@ -62,7 +62,7 @@
this.columns = matrix.columns;
this.entries = new OpenIntToDoubleHashMap(matrix.entries);
}
-
+
/** {@inheritDoc} */
@Override
public OpenMapRealMatrix copy() {
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/OpenMapRealVector.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/OpenMapRealVector.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/OpenMapRealVector.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/OpenMapRealVector.java Sat Sep 5 17:36:48 2009
@@ -1233,7 +1233,7 @@
return getData();
}
- /** {@inheritDoc}
+ /** {@inheritDoc}
* <p> Implementation Note: This works on exact values, and as a result
* it is possible for {@code a.subtract(b)} to be the zero vector, while
* {@code a.hashCode() != b.hashCode()}.</p>
@@ -1255,9 +1255,9 @@
return result;
}
- /**
+ /**
* <p> Implementation Note: This performs an exact comparison, and as a result
- * it is possible for {@code a.subtract(b}} to be the zero vector, while
+ * it is possible for {@code a.subtract(b}} to be the zero vector, while
* {@code a.equals(b) == false}.</p>
* {@inheritDoc}
*/
@@ -1300,7 +1300,7 @@
}
/**
- *
+ *
* @return the percentage of none zero elements as a decimal percent.
*/
public double getSparcity() {
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/QRDecomposition.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/QRDecomposition.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/QRDecomposition.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/QRDecomposition.java Sat Sep 5 17:36:48 2009
@@ -19,7 +19,7 @@
/**
- * An interface to classes that implement an algorithm to calculate the
+ * An interface to classes that implement an algorithm to calculate the
* QR-decomposition of a real matrix.
* <p>This interface is based on the class with similar name from the now defunct
* <a href="http://math.nist.gov/javanumerics/jama/">JAMA</a> library, with the
@@ -30,7 +30,7 @@
* by a {@link #getSolver() getSolver} method and the equivalent methods provided by
* the returned {@link DecompositionSolver}.</li>
* </ul>
- *
+ *
* @see <a href="http://mathworld.wolfram.com/QRDecomposition.html">MathWorld</a>
* @see <a href="http://en.wikipedia.org/wiki/QR_decomposition">Wikipedia</a>
* @version $Revision$ $Date$
@@ -39,7 +39,7 @@
public interface QRDecomposition {
/**
- * Returns the matrix R of the decomposition.
+ * Returns the matrix R of the decomposition.
* <p>R is an upper-triangular matrix</p>
* @return the R matrix
*/
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/QRDecompositionImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/QRDecompositionImpl.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/QRDecompositionImpl.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/QRDecompositionImpl.java Sat Sep 5 17:36:48 2009
@@ -64,7 +64,7 @@
private RealMatrix cachedH;
/**
- * Calculates the QR-decomposition of the given matrix.
+ * Calculates the QR-decomposition of the given matrix.
* @param matrix The matrix to decompose.
*/
public QRDecompositionImpl(RealMatrix matrix) {
@@ -186,11 +186,11 @@
final int m = qrt[0].length;
cachedQT = MatrixUtils.createRealMatrix(m, m);
- /*
- * Q = Q1 Q2 ... Q_m, so Q is formed by first constructing Q_m and then
- * applying the Householder transformations Q_(m-1),Q_(m-2),...,Q1 in
- * succession to the result
- */
+ /*
+ * Q = Q1 Q2 ... Q_m, so Q is formed by first constructing Q_m and then
+ * applying the Householder transformations Q_(m-1),Q_(m-2),...,Q1 in
+ * succession to the result
+ */
for (int minor = m - 1; minor >= Math.min(m, n); minor--) {
cachedQT.setEntry(minor, minor, 1.0);
}
@@ -248,7 +248,7 @@
/** Specialized solver. */
private static class Solver implements DecompositionSolver {
-
+
/**
* A packed TRANSPOSED representation of the QR decomposition.
* <p>The elements BELOW the diagonal are the elements of the UPPER triangular
@@ -386,7 +386,7 @@
// apply Householder transforms to solve Q.y = b
for (int minor = 0; minor < Math.min(m, n); minor++) {
final double[] qrtMinor = qrt[minor];
- final double factor = 1.0 / (rDiag[minor] * qrtMinor[minor]);
+ final double factor = 1.0 / (rDiag[minor] * qrtMinor[minor]);
Arrays.fill(alpha, 0, kWidth, 0.0);
for (int row = minor; row < m; ++row) {
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/RealMatrix.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/RealMatrix.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/RealMatrix.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/RealMatrix.java Sat Sep 5 17:36:48 2009
@@ -23,7 +23,7 @@
* <p>
* Matrix element indexing is 0-based -- e.g., <code>getEntry(0, 0)</code>
* returns the element in the first row, first column of the matrix.</p>
- *
+ *
* @version $Revision$ $Date$
*/
public interface RealMatrix extends AnyMatrix {
@@ -114,7 +114,7 @@
* @return norm
*/
double getNorm();
-
+
/**
* Returns the <a href="http://mathworld.wolfram.com/FrobeniusNorm.html">
* Frobenius norm</a> of the matrix.
@@ -122,7 +122,7 @@
* @return norm
*/
double getFrobeniusNorm();
-
+
/**
* Gets a submatrix. Rows and columns are indicated
* counting from 0 to n-1.
@@ -137,7 +137,7 @@
*/
RealMatrix getSubMatrix(int startRow, int endRow, int startColumn, int endColumn)
throws MatrixIndexException;
-
+
/**
* Gets a submatrix. Rows and columns are indicated
* counting from 0 to n-1.
@@ -167,7 +167,7 @@
void copySubMatrix(int startRow, int endRow, int startColumn, int endColumn,
double[][] destination)
throws MatrixIndexException, IllegalArgumentException;
-
+
/**
* Copy a submatrix. Rows and columns are indicated
* counting from 0 to n-1.
@@ -181,35 +181,35 @@
*/
void copySubMatrix(int[] selectedRows, int[] selectedColumns, double[][] destination)
throws MatrixIndexException, IllegalArgumentException;
-
+
/**
* Replace the submatrix starting at <code>row, column</code> using data in
* the input <code>subMatrix</code> array. Indexes are 0-based.
- * <p>
+ * <p>
* Example:<br>
* Starting with <pre>
* 1 2 3 4
* 5 6 7 8
* 9 0 1 2
* </pre>
- * and <code>subMatrix = {{3, 4} {5,6}}</code>, invoking
+ * and <code>subMatrix = {{3, 4} {5,6}}</code>, invoking
* <code>setSubMatrix(subMatrix,1,1))</code> will result in <pre>
* 1 2 3 4
* 5 3 4 8
* 9 5 6 2
* </pre></p>
- *
+ *
* @param subMatrix array containing the submatrix replacement data
* @param row row coordinate of the top, left element to be replaced
* @param column column coordinate of the top, left element to be replaced
- * @throws MatrixIndexException if subMatrix does not fit into this
- * matrix from element in (row, column)
+ * @throws MatrixIndexException if subMatrix does not fit into this
+ * matrix from element in (row, column)
* @throws IllegalArgumentException if <code>subMatrix</code> is not rectangular
* (not all rows have the same length) or empty
* @throws NullPointerException if <code>subMatrix</code> is null
* @since 2.0
*/
- void setSubMatrix(double[][] subMatrix, int row, int column)
+ void setSubMatrix(double[][] subMatrix, int row, int column)
throws MatrixIndexException;
/**
@@ -221,7 +221,7 @@
* @throws MatrixIndexException if the specified row index is invalid
*/
RealMatrix getRowMatrix(int row) throws MatrixIndexException;
-
+
/**
* Sets the entries in row number <code>row</code>
* as a row matrix. Row indices start at 0.
@@ -235,7 +235,7 @@
*/
void setRowMatrix(int row, RealMatrix matrix)
throws MatrixIndexException, InvalidMatrixException;
-
+
/**
* Returns the entries in column number <code>column</code>
* as a column matrix. Column indices start at 0.
@@ -259,7 +259,7 @@
*/
void setColumnMatrix(int column, RealMatrix matrix)
throws MatrixIndexException, InvalidMatrixException;
-
+
/**
* Returns the entries in row number <code>row</code>
* as a vector. Row indices start at 0.
@@ -283,7 +283,7 @@
*/
void setRowVector(int row, RealVector vector)
throws MatrixIndexException, InvalidMatrixException;
-
+
/**
* Returns the entries in column number <code>column</code>
* as a vector. Column indices start at 0.
@@ -306,7 +306,7 @@
*/
void setColumnVector(int column, RealVector vector)
throws MatrixIndexException, InvalidMatrixException;
-
+
/**
* Returns the entries in row number <code>row</code> as an array.
* <p>
@@ -331,7 +331,7 @@
*/
void setRow(int row, double[] array)
throws MatrixIndexException, InvalidMatrixException;
-
+
/**
* Returns the entries in column number <code>col</code> as an array.
* <p>
@@ -356,17 +356,17 @@
*/
void setColumn(int column, double[] array)
throws MatrixIndexException, InvalidMatrixException;
-
+
/**
* Returns the entry in the specified row and column.
* <p>
- * Row and column indices start at 0 and must satisfy
+ * Row and column indices start at 0 and must satisfy
* <ul>
* <li><code>0 <= row < rowDimension</code></li>
* <li><code> 0 <= column < columnDimension</code></li>
* </ul>
* otherwise a <code>MatrixIndexException</code> is thrown.</p>
- *
+ *
* @param row row location of entry to be fetched
* @param column column location of entry to be fetched
* @return matrix entry in row,column
@@ -377,13 +377,13 @@
/**
* Set the entry in the specified row and column.
* <p>
- * Row and column indices start at 0 and must satisfy
+ * Row and column indices start at 0 and must satisfy
* <ul>
* <li><code>0 <= row < rowDimension</code></li>
* <li><code> 0 <= column < columnDimension</code></li>
* </ul>
* otherwise a <code>MatrixIndexException</code> is thrown.</p>
- *
+ *
* @param row row location of entry to be set
* @param column column location of entry to be set
* @param value matrix entry to be set in row,column
@@ -395,13 +395,13 @@
/**
* Change an entry in the specified row and column.
* <p>
- * Row and column indices start at 0 and must satisfy
+ * Row and column indices start at 0 and must satisfy
* <ul>
* <li><code>0 <= row < rowDimension</code></li>
* <li><code> 0 <= column < columnDimension</code></li>
* </ul>
* otherwise a <code>MatrixIndexException</code> is thrown.</p>
- *
+ *
* @param row row location of entry to be set
* @param column column location of entry to be set
* @param increment value to add to the current matrix entry in row,column
@@ -413,13 +413,13 @@
/**
* Change an entry in the specified row and column.
* <p>
- * Row and column indices start at 0 and must satisfy
+ * Row and column indices start at 0 and must satisfy
* <ul>
* <li><code>0 <= row < rowDimension</code></li>
* <li><code> 0 <= column < columnDimension</code></li>
* </ul>
* otherwise a <code>MatrixIndexException</code> is thrown.</p>
- *
+ *
* @param row row location of entry to be set
* @param column column location of entry to be set
* @param factor multiplication factor for the current matrix entry in row,column
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/RealMatrixChangingVisitor.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/RealMatrixChangingVisitor.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/RealMatrixChangingVisitor.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/RealMatrixChangingVisitor.java Sat Sep 5 17:36:48 2009
@@ -19,7 +19,7 @@
/**
* Interface defining a visitor for matrix entries.
- *
+ *
* @see DefaultRealMatrixChangingVisitor
* @version $Revision$ $Date$
* @since 2.0
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/RealMatrixImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/RealMatrixImpl.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/RealMatrixImpl.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/RealMatrixImpl.java Sat Sep 5 17:36:48 2009
@@ -35,10 +35,10 @@
* <p>
* <strong>Usage notes</strong>:<br>
* <ul><li>
- * The LU decomposition is cached and reused on subsequent calls.
+ * The LU decomposition is cached and reused on subsequent calls.
* If data are modified via references to the underlying array obtained using
* <code>getDataRef()</code>, then the stored LU decomposition will not be
- * discarded. In this case, you need to explicitly invoke
+ * discarded. In this case, you need to explicitly invoke
* <code>LUDecompose()</code> to recompute the decomposition
* before using any of the methods above.</li>
* <li>
@@ -52,7 +52,7 @@
*/
@Deprecated
public class RealMatrixImpl extends AbstractRealMatrix implements Serializable {
-
+
/** Serializable version identifier */
private static final long serialVersionUID = -1067294169172445528L;
@@ -119,14 +119,14 @@
} else {
if (d == null) {
throw new NullPointerException();
- }
+ }
final int nRows = d.length;
if (nRows == 0) {
- throw MathRuntimeException.createIllegalArgumentException("matrix must have at least one row");
+ throw MathRuntimeException.createIllegalArgumentException("matrix must have at least one row");
}
final int nCols = d[0].length;
if (nCols == 0) {
- throw MathRuntimeException.createIllegalArgumentException("matrix must have at least one column");
+ throw MathRuntimeException.createIllegalArgumentException("matrix must have at least one column");
}
for (int r = 1; r < nRows; r++) {
if (d[r].length != nCols) {
@@ -134,7 +134,7 @@
"some rows have length {0} while others have length {1}",
nCols, d[r].length);
}
- }
+ }
data = d;
}
}
@@ -311,7 +311,7 @@
/** {@inheritDoc} */
@Override
- public void setSubMatrix(final double[][] subMatrix, final int row, final int column)
+ public void setSubMatrix(final double[][] subMatrix, final int row, final int column)
throws MatrixIndexException {
if (data == null) {
if (row > 0) {
@@ -326,19 +326,19 @@
}
final int nRows = subMatrix.length;
if (nRows == 0) {
- throw MathRuntimeException.createIllegalArgumentException("matrix must have at least one row");
+ throw MathRuntimeException.createIllegalArgumentException("matrix must have at least one row");
}
final int nCols = subMatrix[0].length;
if (nCols == 0) {
- throw MathRuntimeException.createIllegalArgumentException("matrix must have at least one column");
+ throw MathRuntimeException.createIllegalArgumentException("matrix must have at least one column");
}
data = new double[subMatrix.length][nCols];
for (int i = 0; i < data.length; ++i) {
if (subMatrix[i].length != nCols) {
throw MathRuntimeException.createIllegalArgumentException(
"some rows have length {0} while others have length {1}",
- nCols, subMatrix[i].length);
+ nCols, subMatrix[i].length);
}
System.arraycopy(subMatrix[i], 0, data[i + row], column, nCols);
}
@@ -384,7 +384,7 @@
throw new MatrixIndexException(
"no entry at indices ({0}, {1}) in a {2}x{3} matrix",
row, column, getRowDimension(), getColumnDimension());
- }
+ }
}
/** {@inheritDoc} */
@@ -397,7 +397,7 @@
throw new MatrixIndexException(
"no entry at indices ({0}, {1}) in a {2}x{3} matrix",
row, column, getRowDimension(), getColumnDimension());
- }
+ }
}
/** {@inheritDoc} */
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/RealMatrixPreservingVisitor.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/RealMatrixPreservingVisitor.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/RealMatrixPreservingVisitor.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/RealMatrixPreservingVisitor.java Sat Sep 5 17:36:48 2009
@@ -19,7 +19,7 @@
/**
* Interface defining a visitor for matrix entries.
- *
+ *
* @see DefaultRealMatrixPreservingVisitor
* @version $Revision$ $Date$
* @since 2.0
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/RealVector.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/RealVector.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/RealVector.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/RealVector.java Sat Sep 5 17:36:48 2009
@@ -35,7 +35,7 @@
* <pre>
* RealVector result = v.mapAddToSelf(3.0).mapTanToSelf().mapSquareToSelf();
* </pre>
- *
+ *
* @version $Revision$ $Date$
* @since 2.0
*/
@@ -791,7 +791,7 @@
* @return true if any coordinate of this vector is NaN; false otherwise
*/
public boolean isNaN();
-
+
/**
* Returns true if any coordinate of this vector is infinite and none are NaN;
* false otherwise
@@ -799,5 +799,5 @@
* false otherwise
*/
public boolean isInfinite();
-
+
}
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/SingularValueDecomposition.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/SingularValueDecomposition.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/SingularValueDecomposition.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/SingularValueDecomposition.java Sat Sep 5 17:36:48 2009
@@ -20,7 +20,7 @@
/**
- * An interface to classes that implement an algorithm to calculate the
+ * An interface to classes that implement an algorithm to calculate the
* Singular Value Decomposition of a real matrix.
* <p>The Singular Value Decomposition of matrix A is a set of three matrices:
* U, Σ and V such that A = U × Σ × V<sup>T</sup>.
@@ -50,7 +50,7 @@
public interface SingularValueDecomposition {
/**
- * Returns the matrix U of the decomposition.
+ * Returns the matrix U of the decomposition.
* <p>U is an orthogonal matrix, i.e. its transpose is also its inverse.</p>
* @return the U matrix
* @see #getUT()
@@ -58,7 +58,7 @@
RealMatrix getU();
/**
- * Returns the transpose of the matrix U of the decomposition.
+ * Returns the transpose of the matrix U of the decomposition.
* <p>U is an orthogonal matrix, i.e. its transpose is also its inverse.</p>
* @return the U matrix (or null if decomposed matrix is singular)
* @see #getU()
@@ -66,7 +66,7 @@
RealMatrix getUT();
/**
- * Returns the diagonal matrix Σ of the decomposition.
+ * Returns the diagonal matrix Σ of the decomposition.
* <p>Σ is a diagonal matrix. The singular values are provided in
* non-increasing order, for compatibility with Jama.</p>
* @return the Σ matrix
@@ -82,7 +82,7 @@
double[] getSingularValues();
/**
- * Returns the matrix V of the decomposition.
+ * Returns the matrix V of the decomposition.
* <p>V is an orthogonal matrix, i.e. its transpose is also its inverse.</p>
* @return the V matrix (or null if decomposed matrix is singular)
* @see #getVT()
@@ -90,7 +90,7 @@
RealMatrix getV();
/**
- * Returns the transpose of the matrix V of the decomposition.
+ * Returns the transpose of the matrix V of the decomposition.
* <p>V is an orthogonal matrix, i.e. its transpose is also its inverse.</p>
* @return the V matrix (or null if decomposed matrix is singular)
* @see #getV()
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/SingularValueDecompositionImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/SingularValueDecompositionImpl.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/SingularValueDecompositionImpl.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/SingularValueDecompositionImpl.java Sat Sep 5 17:36:48 2009
@@ -76,7 +76,7 @@
private RealMatrix cachedVt;
/**
- * Calculates the Singular Value Decomposition of the given matrix.
+ * Calculates the Singular Value Decomposition of the given matrix.
* @param matrix The matrix to decompose.
* @exception InvalidMatrixException (wrapping a {@link
* org.apache.commons.math.ConvergenceException} if algorithm fails to converge
@@ -134,7 +134,7 @@
iData[0] = ei1;
for (int i = 0; i < n - 1; ++i) {
// compute Bt.E.S^(-1) where E is the eigenvectors matrix
- // we reuse the array from matrix E to store the result
+ // we reuse the array from matrix E to store the result
final double[] ei0 = ei1;
ei1 = eData[i + 1];
iData[i + 1] = ei1;
@@ -214,7 +214,7 @@
iData[0] = ei1;
for (int i = 0; i < m - 1; ++i) {
// compute Bt.E.S^(-1) where E is the eigenvectors matrix
- // we reuse the array from matrix E to store the result
+ // we reuse the array from matrix E to store the result
final double[] ei0 = ei1;
ei1 = eData[i + 1];
iData[i + 1] = ei1;
@@ -319,7 +319,7 @@
/** Specialized solver. */
private static class Solver implements DecompositionSolver {
-
+
/** Singular values. */
private final double[] singularValues;
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/SparseFieldMatrix.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/SparseFieldMatrix.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/SparseFieldMatrix.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/SparseFieldMatrix.java Sat Sep 5 17:36:48 2009
@@ -22,7 +22,7 @@
/**
* Sparse matrix implementation based on an open addressed map.
- *
+ *
* @param <T> the type of the field elements
* @version $Revision$ $Date$
* @since 2.0
@@ -42,7 +42,7 @@
* column dimension
*/
private final int columns;
-
+
/**
* Creates a matrix with no data.
@@ -71,7 +71,7 @@
this.columns = columnDimension;
entries = new OpenIntToFieldHashMap<T>(field);
}
-
+
/**
* Copy constructor.
* @param other The instance to copy
@@ -112,7 +112,7 @@
} else {
entries.put(key, value);
}
-
+
}
/** {@inheritDoc} */
@@ -161,7 +161,7 @@
} else {
entries.put(key, value);
}
-
+
}
/** {@inheritDoc} */
@@ -175,7 +175,7 @@
} else {
entries.put(computeKey(row, column), value);
}
-
+
}
/**
* Compute the key to access a matrix element
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/SparseFieldVector.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/SparseFieldVector.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/SparseFieldVector.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/SparseFieldVector.java Sat Sep 5 17:36:48 2009
@@ -31,7 +31,7 @@
* @since 2.0
*/
public class SparseFieldVector<T extends FieldElement<T>> implements FieldVector<T>, Serializable {
-
+
/**
* Serial version id
*/
@@ -57,7 +57,7 @@
this(field, 0);
}
-
+
/**
* Construct a (dimension)-length vector of zeros.
* @param field field to which the elements belong
@@ -80,7 +80,7 @@
entries = new OpenIntToFieldHashMap<T>(v.entries);
}
-
+
/**
* Build a vector with known the sparseness (for advanced use only).
* @param field field to which the elements belong
@@ -109,7 +109,7 @@
}
}
-
+
/**
* Copy constructor.
@@ -128,7 +128,7 @@
private OpenIntToFieldHashMap<T> getEntries() {
return entries;
}
-
+
/**
* Optimized method to add sparse vectors.
* @param v vector to add
@@ -153,7 +153,7 @@
}
-
+
/** {@inheritDoc} */
public FieldVector<T> add(T[] v) throws IllegalArgumentException {
checkVectorDimensions(v.length);
@@ -185,7 +185,7 @@
return append((SparseFieldVector<T>) v);
} else {
return append(v.toArray());
- }
+ }
}
/** {@inheritDoc} */
@@ -390,7 +390,7 @@
/** {@inheritDoc} */
public FieldVector<T> mapSubtract(T d) {
return copy().mapSubtractToSelf(d);
- }
+ }
/** {@inheritDoc} */
public FieldVector<T> mapSubtractToSelf(T d) {
@@ -485,7 +485,7 @@
for (int i = 0; i < v.length; i++) {
setEntry(i + index, v[i]);
}
-
+
}
/**
@@ -537,7 +537,7 @@
public T[] toArray() {
return getData();
}
-
+
/**
* Check if an index is valid.
*
@@ -656,5 +656,5 @@
}
-
+
}
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/SparseRealMatrix.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/SparseRealMatrix.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/SparseRealMatrix.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/SparseRealMatrix.java Sat Sep 5 17:36:48 2009
@@ -19,11 +19,11 @@
/**
* Marker interface for {@link RealMatrix} implementations that require sparse backing storage
- *
+ *
* @version $Revision$ $Date$
* @since 2.0
*
*/
public interface SparseRealMatrix extends RealMatrix {
-
+
}
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/SparseRealVector.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/SparseRealVector.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/SparseRealVector.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/SparseRealVector.java Sat Sep 5 17:36:48 2009
@@ -23,5 +23,5 @@
*
*/
public interface SparseRealVector extends RealVector {
-
+
}
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/TriDiagonalTransformer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/TriDiagonalTransformer.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/TriDiagonalTransformer.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/TriDiagonalTransformer.java Sat Sep 5 17:36:48 2009
@@ -82,7 +82,7 @@
}
/**
- * Returns the matrix Q of the transform.
+ * Returns the matrix Q of the transform.
* <p>Q is an orthogonal matrix, i.e. its transpose is also its inverse.</p>
* @return the Q matrix
*/
@@ -94,7 +94,7 @@
}
/**
- * Returns the transpose of the matrix Q of the transform.
+ * Returns the transpose of the matrix Q of the transform.
* <p>Q is an orthogonal matrix, i.e. its transpose is also its inverse.</p>
* @return the Q matrix
*/
@@ -139,7 +139,7 @@
}
/**
- * Returns the tridiagonal matrix T of the transform.
+ * Returns the tridiagonal matrix T of the transform.
* @return the T matrix
*/
public RealMatrix getT() {
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/AbstractIntegrator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/AbstractIntegrator.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/AbstractIntegrator.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/AbstractIntegrator.java Sat Sep 5 17:36:48 2009
@@ -34,7 +34,7 @@
*/
public abstract class AbstractIntegrator implements FirstOrderIntegrator {
-
+
/** Name of the method. */
private final String name;
@@ -77,7 +77,7 @@
protected AbstractIntegrator() {
this(null);
}
-
+
/** {@inheritDoc} */
public String getName() {
return name;
@@ -271,7 +271,7 @@
/** {@inheritDoc} */
public void resetState(double t, double[] y) {
}
-
+
}
-}
\ No newline at end of file
+}
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/ContinuousOutputModel.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/ContinuousOutputModel.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/ContinuousOutputModel.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/ContinuousOutputModel.java Sat Sep 5 17:36:48 2009
@@ -200,7 +200,7 @@
public double getInitialTime() {
return initialTime;
}
-
+
/**
* Get the final integration time.
* @return final integration time
@@ -218,7 +218,7 @@
public double getInterpolatedTime() {
return steps.get(index).getInterpolatedTime();
}
-
+
/** Set the time of the interpolated point.
* <p>This method should <strong>not</strong> be called before the
* integration is over because some internal variables are set only
@@ -329,7 +329,7 @@
return steps.get(index).getInterpolatedState();
}
- /** Compare a step interval and a double.
+ /** Compare a step interval and a double.
* @param time point to locate
* @param interval step interval
* @return -1 if the double is before the interval, 0 if it is in
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/DerivativeException.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/DerivativeException.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/DerivativeException.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/DerivativeException.java Sat Sep 5 17:36:48 2009
@@ -28,7 +28,7 @@
*/
public class DerivativeException
extends MathException {
-
+
/** Serializable version identifier */
private static final long serialVersionUID = 5666710788967425123L;
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/FirstOrderConverter.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/FirstOrderConverter.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/FirstOrderConverter.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/FirstOrderConverter.java Sat Sep 5 17:36:48 2009
@@ -96,7 +96,7 @@
// build the result state derivative
System.arraycopy(zDot, 0, yDot, 0, dimension);
System.arraycopy(zDDot, 0, yDot, dimension, dimension);
-
+
}
/** Underlying second order equations set. */
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/FirstOrderDifferentialEquations.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/FirstOrderDifferentialEquations.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/FirstOrderDifferentialEquations.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/FirstOrderDifferentialEquations.java Sat Sep 5 17:36:48 2009
@@ -46,12 +46,12 @@
*/
public interface FirstOrderDifferentialEquations {
-
+
/** Get the dimension of the problem.
* @return dimension of the problem
*/
public int getDimension();
-
+
/** Get the current time derivative of the state vector.
* @param t current value of the independent <I>time</I> variable
* @param y array containing the current value of the state vector
@@ -61,5 +61,5 @@
*/
public void computeDerivatives(double t, double[] y, double[] yDot)
throws DerivativeException;
-
+
}
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/SecondOrderDifferentialEquations.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/SecondOrderDifferentialEquations.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/SecondOrderDifferentialEquations.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/SecondOrderDifferentialEquations.java Sat Sep 5 17:36:48 2009
@@ -50,7 +50,7 @@
* @return dimension of the problem
*/
public int getDimension();
-
+
/** Get the current time derivative of the state vector.
* @param t current value of the independent <I>time</I> variable
* @param y array containing the current value of the state vector
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/events/EventHandler.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/events/EventHandler.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/events/EventHandler.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/events/EventHandler.java Sat Sep 5 17:36:48 2009
@@ -27,7 +27,7 @@
* discontinuities, or simply when the user wants to monitor some
* states boundaries crossings.
* </p>
- *
+ *
* <p>These events are defined as occurring when a <code>g</code>
* switching function sign changes.</p>
*
@@ -84,7 +84,7 @@
/** Compute the value of the switching function.
- * <p>The discrete events are generated when the sign of this
+ * <p>The discrete events are generated when the sign of this
* switching function changes. The integrator will take care to change
* the stepsize in such a way these events occur exactly at step boundaries.
* The switching function must be continuous in its roots neighborhood
@@ -137,7 +137,7 @@
* @exception EventException if the event occurrence triggers an error
*/
public int eventOccurred(double t, double[] y, boolean increasing) throws EventException;
-
+
/** Reset the state prior to continue the integration.
* <p>This method is called after the step handler has returned and
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/AdamsBashforthIntegrator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/AdamsBashforthIntegrator.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/AdamsBashforthIntegrator.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/AdamsBashforthIntegrator.java Sat Sep 5 17:36:48 2009
@@ -105,7 +105,7 @@
* [ -8 48 -256 1280 ... ]
* [ ... ]
* </pre></p>
- *
+ *
* <p>Using the Nordsieck vector has several advantages:
* <ul>
* <li>it greatly simplifies step interpolation as the interpolator mainly applies
@@ -114,7 +114,7 @@
* the step are triggered,</li>
* <li>it allows to extend the methods in order to support adaptive stepsize.</li>
* </ul></p>
- *
+ *
* <p>The Nordsieck vector at step n+1 is computed from the Nordsieck vector at step n as follows:
* <ul>
* <li>y<sub>n+1</sub> = y<sub>n</sub> + s<sub>1</sub>(n) + u<sup>T</sup> r<sub>n</sub></li>
@@ -221,7 +221,7 @@
// reuse the step that was chosen by the starter integrator
double hNew = stepSize;
interpolator.rescale(hNew);
-
+
boolean lastStep = false;
while (!lastStep) {
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/AdamsMoultonIntegrator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/AdamsMoultonIntegrator.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/AdamsMoultonIntegrator.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/AdamsMoultonIntegrator.java Sat Sep 5 17:36:48 2009
@@ -112,7 +112,7 @@
* [ -8 48 -256 1280 ... ]
* [ ... ]
* </pre></p>
- *
+ *
* <p>Using the Nordsieck vector has several advantages:
* <ul>
* <li>it greatly simplifies step interpolation as the interpolator mainly applies
@@ -121,7 +121,7 @@
* the step are triggered,</li>
* <li>it allows to extend the methods in order to support adaptive stepsize.</li>
* </ul></p>
- *
+ *
* <p>The predicted Nordsieck vector at step n+1 is computed from the Nordsieck vector at step
* n as follows:
* <ul>
@@ -196,8 +196,8 @@
super("Adams-Moulton", nSteps, nSteps + 1, minStep, maxStep,
vecAbsoluteTolerance, vecRelativeTolerance);
}
-
-
+
+
/** {@inheritDoc} */
@Override
public double integrate(final FirstOrderDifferentialEquations equations,
@@ -238,7 +238,7 @@
double hNew = stepSize;
interpolator.rescale(hNew);
-
+
boolean lastStep = false;
while (!lastStep) {
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/AdaptiveStepsizeIntegrator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/AdaptiveStepsizeIntegrator.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/AdaptiveStepsizeIntegrator.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/AdaptiveStepsizeIntegrator.java Sat Sep 5 17:36:48 2009
@@ -54,7 +54,7 @@
public abstract class AdaptiveStepsizeIntegrator
extends AbstractIntegrator {
-
+
/** Build an integrator with the given stepsize bounds.
* The default step handler does nothing.
* @param name name of the method
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/DormandPrince853StepInterpolator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/DormandPrince853StepInterpolator.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/DormandPrince853StepInterpolator.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/DormandPrince853StepInterpolator.java Sat Sep 5 17:36:48 2009
@@ -203,7 +203,7 @@
}
}
-
+
/** {@inheritDoc} */
@Override
protected void doFinalize()
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/EmbeddedRungeKuttaIntegrator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/EmbeddedRungeKuttaIntegrator.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/EmbeddedRungeKuttaIntegrator.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/EmbeddedRungeKuttaIntegrator.java Sat Sep 5 17:36:48 2009
@@ -386,7 +386,7 @@
/** Prototype of the step interpolator. */
private RungeKuttaStepInterpolator prototype;
-
+
/** Stepsize control exponent. */
private double exp;
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/GillStepInterpolator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/GillStepInterpolator.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/GillStepInterpolator.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/GillStepInterpolator.java Sat Sep 5 17:36:48 2009
@@ -46,7 +46,7 @@
class GillStepInterpolator
extends RungeKuttaStepInterpolator {
-
+
/** Simple constructor.
* This constructor builds an instance that is not usable yet, the
* {@link
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/GraggBulirschStoerIntegrator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/GraggBulirschStoerIntegrator.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/GraggBulirschStoerIntegrator.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/GraggBulirschStoerIntegrator.java Sat Sep 5 17:36:48 2009
@@ -325,7 +325,7 @@
} else {
// step size sequence: 2, 4, 6, 8, ...
for (int k = 0; k < size; ++k) {
- sequence[k] = 2 * (k + 1);
+ sequence[k] = 2 * (k + 1);
}
}
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/GraggBulirschStoerStepInterpolator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/GraggBulirschStoerStepInterpolator.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/GraggBulirschStoerStepInterpolator.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/GraggBulirschStoerStepInterpolator.java Sat Sep 5 17:36:48 2009
@@ -351,7 +351,7 @@
}
}
-
+
/** {@inheritDoc} */
@Override
public void writeExternal(final ObjectOutput out)
@@ -377,7 +377,7 @@
public void readExternal(final ObjectInput in)
throws IOException {
- // read the base class
+ // read the base class
final double t = readBaseExternal(in);
final int dimension = (currentState == null) ? -1 : currentState.length;
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/MidpointStepInterpolator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/MidpointStepInterpolator.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/MidpointStepInterpolator.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/MidpointStepInterpolator.java Sat Sep 5 17:36:48 2009
@@ -43,7 +43,7 @@
class MidpointStepInterpolator
extends RungeKuttaStepInterpolator {
-
+
/** Simple constructor.
* This constructor builds an instance that is not usable yet, the
* {@link
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/RungeKuttaIntegrator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/RungeKuttaIntegrator.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/RungeKuttaIntegrator.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/RungeKuttaIntegrator.java Sat Sep 5 17:36:48 2009
@@ -211,7 +211,7 @@
/** Prototype of the step interpolator. */
private RungeKuttaStepInterpolator prototype;
-
+
/** Integration step. */
private double step;
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/RungeKuttaStepInterpolator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/RungeKuttaStepInterpolator.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/RungeKuttaStepInterpolator.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/RungeKuttaStepInterpolator.java Sat Sep 5 17:36:48 2009
@@ -149,7 +149,7 @@
public void readExternal(final ObjectInput in)
throws IOException {
- // read the base class
+ // read the base class
final double t = readBaseExternal(in);
// read the local attributes
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/ThreeEighthesStepInterpolator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/ThreeEighthesStepInterpolator.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/ThreeEighthesStepInterpolator.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/ThreeEighthesStepInterpolator.java Sat Sep 5 17:36:48 2009
@@ -48,7 +48,7 @@
class ThreeEighthesStepInterpolator
extends RungeKuttaStepInterpolator {
-
+
/** Simple constructor.
* This constructor builds an instance that is not usable yet, the
* {@link
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/sampling/AbstractStepInterpolator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/sampling/AbstractStepInterpolator.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/sampling/AbstractStepInterpolator.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/sampling/AbstractStepInterpolator.java Sat Sep 5 17:36:48 2009
@@ -229,17 +229,17 @@
public double getPreviousTime() {
return previousTime;
}
-
+
/** {@inheritDoc} */
public double getCurrentTime() {
return currentTime;
}
-
+
/** {@inheritDoc} */
public double getInterpolatedTime() {
return interpolatedTime;
}
-
+
/** {@inheritDoc} */
public void setInterpolatedTime(final double time) {
interpolatedTime = time;
@@ -264,7 +264,7 @@
protected abstract void computeInterpolatedStateAndDerivatives(double theta,
double oneMinusThetaH)
throws DerivativeException;
-
+
/** {@inheritDoc} */
public double[] getInterpolatedState() throws DerivativeException {
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/sampling/DummyStepInterpolator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/sampling/DummyStepInterpolator.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/sampling/DummyStepInterpolator.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/sampling/DummyStepInterpolator.java Sat Sep 5 17:36:48 2009
@@ -95,7 +95,7 @@
throws DerivativeException {
System.arraycopy(currentState, 0, interpolatedState, 0, currentState.length);
}
-
+
/** Write the instance to an output channel.
* @param out output channel
* @exception IOException if the instance cannot be written
@@ -115,7 +115,7 @@
public void readExternal(final ObjectInput in)
throws IOException {
- // read the base class
+ // read the base class
final double t = readBaseExternal(in);
// we can now set the interpolated time and state
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/sampling/NordsieckStepInterpolator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/sampling/NordsieckStepInterpolator.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/sampling/NordsieckStepInterpolator.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/sampling/NordsieckStepInterpolator.java Sat Sep 5 17:36:48 2009
@@ -252,7 +252,7 @@
public void readExternal(final ObjectInput in)
throws IOException, ClassNotFoundException {
- // read the base class
+ // read the base class
final double t = readBaseExternal(in);
// read the local attributes
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/sampling/StepHandler.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/sampling/StepHandler.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/sampling/StepHandler.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/sampling/StepHandler.java Sat Sep 5 17:36:48 2009
@@ -75,5 +75,5 @@
*/
public void handleStep(StepInterpolator interpolator, boolean isLast)
throws DerivativeException;
-
+
}
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/sampling/StepInterpolator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/sampling/StepInterpolator.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/sampling/StepInterpolator.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/sampling/StepInterpolator.java Sat Sep 5 17:36:48 2009
@@ -54,13 +54,13 @@
* @return previous grid point time
*/
public double getPreviousTime();
-
+
/**
* Get the current grid point time.
* @return current grid point time
*/
public double getCurrentTime();
-
+
/**
* Get the time of the interpolated point.
* If {@link #setInterpolatedTime} has not been called, it returns
@@ -68,7 +68,7 @@
* @return interpolation point time
*/
public double getInterpolatedTime();
-
+
/**
* Set the time of the interpolated point.
* <p>Setting the time outside of the current step is now allowed, but
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/DifferentiableMultivariateRealOptimizer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/DifferentiableMultivariateRealOptimizer.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/DifferentiableMultivariateRealOptimizer.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/DifferentiableMultivariateRealOptimizer.java Sat Sep 5 17:36:48 2009
@@ -20,7 +20,7 @@
import org.apache.commons.math.FunctionEvaluationException;
import org.apache.commons.math.analysis.DifferentiableMultivariateRealFunction;
-/**
+/**
* This interface represents an optimization algorithm for {@link DifferentiableMultivariateRealFunction
* scalar differentiable objective functions}.
* <p>Optimization algorithms find the input point set that either {@link GoalType
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/DifferentiableMultivariateVectorialOptimizer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/DifferentiableMultivariateVectorialOptimizer.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/DifferentiableMultivariateVectorialOptimizer.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/DifferentiableMultivariateVectorialOptimizer.java Sat Sep 5 17:36:48 2009
@@ -20,7 +20,7 @@
import org.apache.commons.math.FunctionEvaluationException;
import org.apache.commons.math.analysis.DifferentiableMultivariateVectorialFunction;
-/**
+/**
* This interface represents an optimization algorithm for {@link DifferentiableMultivariateVectorialFunction
* vectorial differentiable objective functions}.
* <p>Optimization algorithms find the input point set that either {@link GoalType
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/GoalType.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/GoalType.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/GoalType.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/GoalType.java Sat Sep 5 17:36:48 2009
@@ -19,7 +19,7 @@
import java.io.Serializable;
-/**
+/**
* Goal type for an optimization problem.
* @version $Revision$ $Date$
* @since 2.0
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/LeastSquaresConverter.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/LeastSquaresConverter.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/LeastSquaresConverter.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/LeastSquaresConverter.java Sat Sep 5 17:36:48 2009
@@ -94,7 +94,7 @@
* odd elements are distance measurements in meters with a 15m standard deviation.
* In this case, the weights array should be initialized with value
* 1.0/(0.01<sup>2</sup>) in the even elements and 1.0/(15.0<sup>2</sup>) in the
- * odd elements (i.e. reciprocals of variances).
+ * odd elements (i.e. reciprocals of variances).
* </p>
* <p>
* The array computed by the objective function, the observations array and the
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/MultiStartDifferentiableMultivariateRealOptimizer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/MultiStartDifferentiableMultivariateRealOptimizer.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/MultiStartDifferentiableMultivariateRealOptimizer.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/MultiStartDifferentiableMultivariateRealOptimizer.java Sat Sep 5 17:36:48 2009
@@ -25,7 +25,7 @@
import org.apache.commons.math.analysis.DifferentiableMultivariateRealFunction;
import org.apache.commons.math.random.RandomVectorGenerator;
-/**
+/**
* Special implementation of the {@link DifferentiableMultivariateRealOptimizer} interface adding
* multi-start features to an existing optimizer.
* <p>
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/MultiStartDifferentiableMultivariateVectorialOptimizer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/MultiStartDifferentiableMultivariateVectorialOptimizer.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/MultiStartDifferentiableMultivariateVectorialOptimizer.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/MultiStartDifferentiableMultivariateVectorialOptimizer.java Sat Sep 5 17:36:48 2009
@@ -25,7 +25,7 @@
import org.apache.commons.math.analysis.DifferentiableMultivariateVectorialFunction;
import org.apache.commons.math.random.RandomVectorGenerator;
-/**
+/**
* Special implementation of the {@link DifferentiableMultivariateVectorialOptimizer} interface adding
* multi-start features to an existing optimizer.
* <p>
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/MultiStartMultivariateRealOptimizer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/MultiStartMultivariateRealOptimizer.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/MultiStartMultivariateRealOptimizer.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/MultiStartMultivariateRealOptimizer.java Sat Sep 5 17:36:48 2009
@@ -25,7 +25,7 @@
import org.apache.commons.math.analysis.MultivariateRealFunction;
import org.apache.commons.math.random.RandomVectorGenerator;
-/**
+/**
* Special implementation of the {@link MultivariateRealOptimizer} interface adding
* multi-start features to an existing optimizer.
* <p>
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/MultiStartUnivariateRealOptimizer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/MultiStartUnivariateRealOptimizer.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/MultiStartUnivariateRealOptimizer.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/MultiStartUnivariateRealOptimizer.java Sat Sep 5 17:36:48 2009
@@ -23,7 +23,7 @@
import org.apache.commons.math.analysis.UnivariateRealFunction;
import org.apache.commons.math.random.RandomGenerator;
-/**
+/**
* Special implementation of the {@link UnivariateRealOptimizer} interface adding
* multi-start features to an existing optimizer.
* <p>
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/MultivariateRealOptimizer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/MultivariateRealOptimizer.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/MultivariateRealOptimizer.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/MultivariateRealOptimizer.java Sat Sep 5 17:36:48 2009
@@ -20,7 +20,7 @@
import org.apache.commons.math.FunctionEvaluationException;
import org.apache.commons.math.analysis.MultivariateRealFunction;
-/**
+/**
* This interface represents an optimization algorithm for {@link MultivariateRealFunction
* scalar objective functions}.
* <p>Optimization algorithms find the input point set that either {@link GoalType
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/OptimizationException.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/OptimizationException.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/OptimizationException.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/OptimizationException.java Sat Sep 5 17:36:48 2009
@@ -19,7 +19,7 @@
import org.apache.commons.math.ConvergenceException;
-/**
+/**
* This class represents exceptions thrown by optimizers.
*
* @version $Revision$ $Date$
@@ -32,7 +32,7 @@
/** Serializable version identifier. */
private static final long serialVersionUID = -357696069587075016L;
- /**
+ /**
* Simple constructor.
* Build an exception by translating and formating a message
* @param specifier format specifier (to be translated)
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/RealPointValuePair.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/RealPointValuePair.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/RealPointValuePair.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/RealPointValuePair.java Sat Sep 5 17:36:48 2009
@@ -20,7 +20,7 @@
import java.io.Serializable;
-/**
+/**
* This class holds a point and the value of an objective function at this point.
* <p>This is a simple immutable container.</p>
* @see VectorialPointValuePair
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/SimpleRealPointChecker.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/SimpleRealPointChecker.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/SimpleRealPointChecker.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/SimpleRealPointChecker.java Sat Sep 5 17:36:48 2009
@@ -19,7 +19,7 @@
import org.apache.commons.math.util.MathUtils;
-/**
+/**
* Simple implementation of the {@link RealConvergenceChecker} interface using
* only point coordinates.
* <p>
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/SimpleScalarValueChecker.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/SimpleScalarValueChecker.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/SimpleScalarValueChecker.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/SimpleScalarValueChecker.java Sat Sep 5 17:36:48 2009
@@ -19,7 +19,7 @@
import org.apache.commons.math.util.MathUtils;
-/**
+/**
* Simple implementation of the {@link RealConvergenceChecker} interface using
* only objective function values.
* <p>
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/SimpleVectorialPointChecker.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/SimpleVectorialPointChecker.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/SimpleVectorialPointChecker.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/SimpleVectorialPointChecker.java Sat Sep 5 17:36:48 2009
@@ -19,7 +19,7 @@
import org.apache.commons.math.util.MathUtils;
-/**
+/**
* Simple implementation of the {@link VectorialConvergenceChecker} interface using
* only point coordinates.
* <p>
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/SimpleVectorialValueChecker.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/SimpleVectorialValueChecker.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/SimpleVectorialValueChecker.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/SimpleVectorialValueChecker.java Sat Sep 5 17:36:48 2009
@@ -19,7 +19,7 @@
import org.apache.commons.math.util.MathUtils;
-/**
+/**
* Simple implementation of the {@link VectorialConvergenceChecker} interface using
* only objective function values.
* <p>
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/UnivariateRealOptimizer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/UnivariateRealOptimizer.java?rev=811685&r1=811684&r2=811685&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/UnivariateRealOptimizer.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/UnivariateRealOptimizer.java Sat Sep 5 17:36:48 2009
@@ -24,7 +24,7 @@
/**
* Interface for (univariate real) optimization algorithms.
- *
+ *
* @version $Revision$ $Date$
* @since 2.0
*/
@@ -97,7 +97,7 @@
/**
* Get the result of the last run of the optimizer.
- *
+ *
* @return the last result.
* @throws IllegalStateException if there is no result available, either
* because no result was yet computed or the last attempt failed.
@@ -106,11 +106,11 @@
/**
* Get the result of the last run of the optimizer.
- *
+ *
* @return the value of the function at the last result.
* @throws IllegalStateException if there is no result available, either
* because no result was yet computed or the last attempt failed.
*/
double getFunctionValue();
-}
\ No newline at end of file
+}