git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141076 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Phil Steitz 2004-01-29 04:58:36 +00:00
parent ec5fb0ca3d
commit 36d2a54a37
2 changed files with 6 additions and 6 deletions

View File

@ -56,7 +56,7 @@ package org.apache.commons.math.linear;
/**
* Interface defining a real-valued matrix with basic algebraic operations
* @version $Revision: 1.9 $ $Date: 2004/01/29 00:49:03 $
* @version $Revision: 1.10 $ $Date: 2004/01/29 04:58:36 $
*/
public interface RealMatrix {
@ -266,7 +266,7 @@ public interface RealMatrix {
* @param b constant vector
* @return vector of solution values to AX = b, where A is *this
* @throws IllegalArgumentException if this.rowDimension != b.length
* @throws InvalidMatrixException if this matrix is square or singular
* @throws InvalidMatrixException if this matrix is not square or is singular
*/
double[] solve(double[] b) throws IllegalArgumentException, InvalidMatrixException;
@ -279,7 +279,7 @@ public interface RealMatrix {
* to solve
* @return matrix of solution vectors
* @throws IllegalArgumentException if this.rowDimension != row dimension
* @throws InvalidMatrixException if this matrix is square or singular
* @throws InvalidMatrixException if this matrix is not square or is singular
*/
RealMatrix solve(RealMatrix b) throws IllegalArgumentException, InvalidMatrixException;
}

View File

@ -78,7 +78,7 @@ import java.io.Serializable;
* explicitly invoke <code>LUDecompose()</code> to recompute the decomposition
* before using any of the methods above.
*
* @version $Revision: 1.11 $ $Date: 2004/01/29 00:49:03 $
* @version $Revision: 1.12 $ $Date: 2004/01/29 04:58:36 $
*/
public class RealMatrixImpl implements RealMatrix, Serializable {
@ -556,7 +556,7 @@ public class RealMatrixImpl implements RealMatrix, Serializable {
* to solve
* @return solution array
* @throws IllegalArgumentException if this.rowDimension != row dimension
* @throws InvalidMatrixException if this matrix is square or singular
* @throws InvalidMatrixException if this matrix is not square or is singular
*/
public double[] solve(double[] b) throws IllegalArgumentException, InvalidMatrixException {
int nRows = this.getRowDimension();
@ -581,7 +581,7 @@ public class RealMatrixImpl implements RealMatrix, Serializable {
* to solve
* @return matrix of solution vectors
* @throws IllegalArgumentException if this.rowDimension != row dimension
* @throws InvalidMatrixException if this matrix is square or singular
* @throws InvalidMatrixException if this matrix is not square or is singular
*/
public RealMatrix solve(RealMatrix b) throws IllegalArgumentException, InvalidMatrixException {
if (b.getRowDimension() != this.getRowDimension()) {