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;