mirror of
https://github.com/apache/commons-math.git
synced 2025-02-09 11:35:33 +00:00
Javadoc fixes.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@419103 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ac13472bb0
commit
4d0b96e980
@ -22,16 +22,22 @@ package org.apache.commons.math.linear;
|
||||
*
|
||||
* @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$
|
||||
*/
|
||||
public interface QRDecomposition {
|
||||
|
||||
/**
|
||||
* Returns the matrix R of the decomposition.
|
||||
*
|
||||
* @return the R matrix
|
||||
*/
|
||||
public abstract RealMatrix getR();
|
||||
|
||||
/**
|
||||
* Returbs the matrix Q of the decomposition.
|
||||
* Returns the matrix Q of the decomposition.
|
||||
*
|
||||
* @return the Q matrix
|
||||
*/
|
||||
public abstract RealMatrix getQ();
|
||||
}
|
||||
|
@ -27,6 +27,8 @@ package org.apache.commons.math.linear;
|
||||
*
|
||||
* @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$
|
||||
*/
|
||||
public class QRDecompositionImpl implements QRDecomposition {
|
||||
|
||||
@ -57,7 +59,7 @@ public class QRDecompositionImpl implements QRDecomposition {
|
||||
/**
|
||||
* Calculates the QR decomposition of the given matrix.
|
||||
*
|
||||
* @param matrix The matrix to factorize.
|
||||
* @param matrix The matrix to decompose.
|
||||
*/
|
||||
public QRDecompositionImpl(RealMatrix matrix) {
|
||||
m = matrix.getRowDimension();
|
||||
@ -128,6 +130,8 @@ public class QRDecompositionImpl implements QRDecomposition {
|
||||
|
||||
/**
|
||||
* Returns the matrix R of the QR-decomposition.
|
||||
*
|
||||
* @return the R matrix
|
||||
*/
|
||||
public RealMatrix getR()
|
||||
{
|
||||
@ -147,6 +151,8 @@ public class QRDecompositionImpl implements QRDecomposition {
|
||||
|
||||
/**
|
||||
* Returns the matrix Q of the QR-decomposition.
|
||||
*
|
||||
* @return the Q matrix
|
||||
*/
|
||||
public RealMatrix getQ()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user