Return-Path: X-Original-To: apmail-commons-commits-archive@minotaur.apache.org Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C8D3610E76 for ; Thu, 19 Mar 2015 09:35:33 +0000 (UTC) Received: (qmail 42589 invoked by uid 500); 19 Mar 2015 09:35:24 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 42515 invoked by uid 500); 19 Mar 2015 09:35:24 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 42506 invoked by uid 99); 19 Mar 2015 09:35:24 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Mar 2015 09:35:24 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id DED9AE1917; Thu, 19 Mar 2015 09:35:23 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: luc@apache.org To: commits@commons.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: [math] Added missing @Override Date: Thu, 19 Mar 2015 09:35:23 +0000 (UTC) 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 Authored: Thu Mar 19 10:35:08 2015 +0100 Committer: Luc Maisonobe 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)); }