Javadoc.
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:
parent
ec5fb0ca3d
commit
36d2a54a37
|
@ -56,7 +56,7 @@ package org.apache.commons.math.linear;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Interface defining a real-valued matrix with basic algebraic operations
|
* 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 {
|
public interface RealMatrix {
|
||||||
|
|
||||||
|
@ -266,7 +266,7 @@ public interface RealMatrix {
|
||||||
* @param b constant vector
|
* @param b constant vector
|
||||||
* @return vector of solution values to AX = b, where A is *this
|
* @return vector of solution values to AX = b, where A is *this
|
||||||
* @throws IllegalArgumentException if this.rowDimension != b.length
|
* @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;
|
double[] solve(double[] b) throws IllegalArgumentException, InvalidMatrixException;
|
||||||
|
|
||||||
|
@ -279,7 +279,7 @@ public interface RealMatrix {
|
||||||
* to solve
|
* to solve
|
||||||
* @return matrix of solution vectors
|
* @return matrix of solution vectors
|
||||||
* @throws IllegalArgumentException if this.rowDimension != row dimension
|
* @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;
|
RealMatrix solve(RealMatrix b) throws IllegalArgumentException, InvalidMatrixException;
|
||||||
}
|
}
|
||||||
|
|
|
@ -78,7 +78,7 @@ import java.io.Serializable;
|
||||||
* explicitly invoke <code>LUDecompose()</code> to recompute the decomposition
|
* explicitly invoke <code>LUDecompose()</code> to recompute the decomposition
|
||||||
* before using any of the methods above.
|
* 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 {
|
public class RealMatrixImpl implements RealMatrix, Serializable {
|
||||||
|
|
||||||
|
@ -556,7 +556,7 @@ public class RealMatrixImpl implements RealMatrix, Serializable {
|
||||||
* to solve
|
* to solve
|
||||||
* @return solution array
|
* @return solution array
|
||||||
* @throws IllegalArgumentException if this.rowDimension != row dimension
|
* @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 {
|
public double[] solve(double[] b) throws IllegalArgumentException, InvalidMatrixException {
|
||||||
int nRows = this.getRowDimension();
|
int nRows = this.getRowDimension();
|
||||||
|
@ -581,7 +581,7 @@ public class RealMatrixImpl implements RealMatrix, Serializable {
|
||||||
* to solve
|
* to solve
|
||||||
* @return matrix of solution vectors
|
* @return matrix of solution vectors
|
||||||
* @throws IllegalArgumentException if this.rowDimension != row dimension
|
* @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 {
|
public RealMatrix solve(RealMatrix b) throws IllegalArgumentException, InvalidMatrixException {
|
||||||
if (b.getRowDimension() != this.getRowDimension()) {
|
if (b.getRowDimension() != this.getRowDimension()) {
|
||||||
|
|
Loading…
Reference in New Issue