You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by lu...@apache.org on 2015/03/19 10:35:23 UTC
[math] Added missing @Override
Repository: commons-math
Updated Branches:
refs/heads/master a1c5a5827 -> 54b2a69a6
Added missing @Override
Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/54b2a69a
Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/54b2a69a
Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/54b2a69a
Branch: refs/heads/master
Commit: 54b2a69a63be2da849bf4ddc56d7ee48ae850223
Parents: a1c5a58
Author: Luc Maisonobe <lu...@apache.org>
Authored: Thu Mar 19 10:35:08 2015 +0100
Committer: Luc Maisonobe <lu...@apache.org>
Committed: Thu Mar 19 10:35:08 2015 +0100
----------------------------------------------------------------------
.../java/org/apache/commons/math4/linear/QRDecomposition.java | 4 ++++
1 file changed, 4 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-math/blob/54b2a69a/src/main/java/org/apache/commons/math4/linear/QRDecomposition.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math4/linear/QRDecomposition.java b/src/main/java/org/apache/commons/math4/linear/QRDecomposition.java
index d96bb45..26953c5 100644
--- a/src/main/java/org/apache/commons/math4/linear/QRDecomposition.java
+++ b/src/main/java/org/apache/commons/math4/linear/QRDecomposition.java
@@ -335,11 +335,13 @@ public class QRDecomposition {
}
/** {@inheritDoc} */
+ @Override
public boolean isNonSingular() {
return !checkSingular(rDiag, threshold, false);
}
/** {@inheritDoc} */
+ @Override
public RealVector solve(RealVector b) {
final int n = qrt.length;
final int m = qrt[0].length;
@@ -381,6 +383,7 @@ public class QRDecomposition {
}
/** {@inheritDoc} */
+ @Override
public RealMatrix solve(RealMatrix b) {
final int n = qrt.length;
final int m = qrt[0].length;
@@ -461,6 +464,7 @@ public class QRDecomposition {
* {@inheritDoc}
* @throws SingularMatrixException if the decomposed matrix is singular.
*/
+ @Override
public RealMatrix getInverse() {
return solve(MatrixUtils.createRealIdentityMatrix(qrt[0].length));
}