From commits-return-3402-apmail-commons-commits-archive=commons.apache.org@commons.apache.org Mon Jun 02 19:54:05 2008 Return-Path: Delivered-To: apmail-commons-commits-archive@locus.apache.org Received: (qmail 88376 invoked from network); 2 Jun 2008 19:54:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Jun 2008 19:54:05 -0000 Received: (qmail 18648 invoked by uid 500); 2 Jun 2008 19:54:06 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 18555 invoked by uid 500); 2 Jun 2008 19:54:05 -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 18518 invoked by uid 99); 2 Jun 2008 19:54:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jun 2008 12:54:05 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jun 2008 19:53:16 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 43EA52388A09; Mon, 2 Jun 2008 12:53:38 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r662538 - in /commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/linear: BigMatrixImpl.java RealMatrixImpl.java Date: Mon, 02 Jun 2008 19:53:38 -0000 To: commits@commons.apache.org From: luc@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080602195338.43EA52388A09@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: luc Date: Mon Jun 2 12:53:37 2008 New Revision: 662538 URL: http://svn.apache.org/viewvc?rev=662538&view=rev Log: changed fields visibility to protected, to allow users to extend the implementation Modified: commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/linear/BigMatrixImpl.java commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/linear/RealMatrixImpl.java Modified: commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/linear/BigMatrixImpl.java URL: http://svn.apache.org/viewvc/commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/linear/BigMatrixImpl.java?rev=662538&r1=662537&r2=662538&view=diff ============================================================================== --- commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/linear/BigMatrixImpl.java (original) +++ commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/linear/BigMatrixImpl.java Mon Jun 2 12:53:37 2008 @@ -53,18 +53,18 @@ private static final long serialVersionUID = -1011428905656140431L; /** Entries of the matrix */ - private BigDecimal data[][] = null; + protected BigDecimal data[][] = null; /** Entries of cached LU decomposition. * All updates to data (other than luDecompose()) *must* set this to null */ - private BigDecimal lu[][] = null; + protected BigDecimal lu[][] = null; /** Permutation associated with LU decomposition */ - private int[] permutation = null; + protected int[] permutation = null; /** Parity of the permutation associated with the LU decomposition */ - private int parity = 1; + protected int parity = 1; /** Rounding mode for divisions **/ private int roundingMode = BigDecimal.ROUND_HALF_UP; Modified: commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/linear/RealMatrixImpl.java URL: http://svn.apache.org/viewvc/commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/linear/RealMatrixImpl.java?rev=662538&r1=662537&r2=662538&view=diff ============================================================================== --- commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/linear/RealMatrixImpl.java (original) +++ commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/linear/RealMatrixImpl.java Mon Jun 2 12:53:37 2008 @@ -55,18 +55,18 @@ private static final long serialVersionUID = -4828886979278117018L; /** Entries of the matrix */ - private double data[][] = null; + protected double data[][] = null; /** Entries of cached LU decomposition. * All updates to data (other than luDecompose()) *must* set this to null */ - private double lu[][] = null; + protected double lu[][] = null; /** Permutation associated with LU decomposition */ - private int[] permutation = null; + protected int[] permutation = null; /** Parity of the permutation associated with the LU decomposition */ - private int parity = 1; + protected int parity = 1; /** Bound to determine effective singularity in LU decomposition */ private static final double TOO_SMALL = 10E-12;