Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F2F146248 for ; Wed, 6 Jul 2011 12:31:41 +0000 (UTC) Received: (qmail 29835 invoked by uid 500); 6 Jul 2011 12:31:41 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 29740 invoked by uid 500); 6 Jul 2011 12:31:40 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 29732 invoked by uid 99); 6 Jul 2011 12:31:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jul 2011 12:31:40 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jul 2011 12:31:38 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E75B1456D7 for ; Wed, 6 Jul 2011 12:31:16 +0000 (UTC) Date: Wed, 6 Jul 2011 12:31:16 +0000 (UTC) From: "Christopher Nix (JIRA)" To: issues@commons.apache.org Message-ID: <151507368.3813.1309955476944.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (MATH-612) Optimisation for QRDecomposition, BiDiagonalTransformer and TriDiagonalTransformer MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Optimisation for QRDecomposition, BiDiagonalTransformer and TriDiagonalTransformer ---------------------------------------------------------------------------------- Key: MATH-612 URL: https://issues.apache.org/jira/browse/MATH-612 Project: Commons Math Issue Type: Improvement Affects Versions: 3.0, Nightly Builds Reporter: Christopher Nix Priority: Minor Fix For: 3.0, Nightly Builds QRDecomposition, BiDiagonalTransformer and TriDiagonalTransformer all contain methods that create an empty matrix for population in calculations employing getEntry and setEntry on the matrix. Methods getEntry and setEntry perform a check to ensure the matrix indices are in bounds. This check is not necessary if the calling method has already ensured them to be in bounds, for example by checking the max and min index as a looping parameter. Methods within QRDecomposition, BiDiagonalTransformer and TriDiagonalTransformer have significantly improved performance over large matrices if, instead of creating an empty RealMatrix and then using getEntry and setEntry, we create a double array for direct access and create a RealMatrix from it at the end. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira