Move Serializable from interface to implementation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@777501 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5d887e468e
commit
5d33262944
|
@ -17,8 +17,6 @@
|
||||||
|
|
||||||
package org.apache.commons.math.linear.decomposition;
|
package org.apache.commons.math.linear.decomposition;
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
import org.apache.commons.math.linear.RealMatrix;
|
import org.apache.commons.math.linear.RealMatrix;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -38,12 +36,14 @@ import org.apache.commons.math.linear.RealMatrix;
|
||||||
* the returned {@link DecompositionSolver}.</li>
|
* the returned {@link DecompositionSolver}.</li>
|
||||||
* </ul>
|
* </ul>
|
||||||
*
|
*
|
||||||
|
* No longer Serializable since 3.3
|
||||||
|
*
|
||||||
* @see <a href="http://mathworld.wolfram.com/CholeskyDecomposition.html">MathWorld</a>
|
* @see <a href="http://mathworld.wolfram.com/CholeskyDecomposition.html">MathWorld</a>
|
||||||
* @see <a href="http://en.wikipedia.org/wiki/Cholesky_decomposition">Wikipedia</a>
|
* @see <a href="http://en.wikipedia.org/wiki/Cholesky_decomposition">Wikipedia</a>
|
||||||
* @version $Revision$ $Date$
|
* @version $Revision$ $Date$
|
||||||
* @since 2.0
|
* @since 2.0
|
||||||
*/
|
*/
|
||||||
public interface CholeskyDecomposition extends Serializable {
|
public interface CholeskyDecomposition {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the matrix L of the decomposition.
|
* Returns the matrix L of the decomposition.
|
||||||
|
|
|
@ -17,6 +17,8 @@
|
||||||
|
|
||||||
package org.apache.commons.math.linear.decomposition;
|
package org.apache.commons.math.linear.decomposition;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
import org.apache.commons.math.MathRuntimeException;
|
import org.apache.commons.math.MathRuntimeException;
|
||||||
import org.apache.commons.math.linear.InvalidMatrixException;
|
import org.apache.commons.math.linear.InvalidMatrixException;
|
||||||
import org.apache.commons.math.linear.MatrixUtils;
|
import org.apache.commons.math.linear.MatrixUtils;
|
||||||
|
@ -37,7 +39,9 @@ import org.apache.commons.math.linear.RealVectorImpl;
|
||||||
* @version $Revision$ $Date$
|
* @version $Revision$ $Date$
|
||||||
* @since 2.0
|
* @since 2.0
|
||||||
*/
|
*/
|
||||||
public class CholeskyDecompositionImpl implements CholeskyDecomposition {
|
public class CholeskyDecompositionImpl implements CholeskyDecomposition, Serializable {
|
||||||
|
// TODO: Add Serializable documentation
|
||||||
|
// TODO: Check Serializable implementation
|
||||||
|
|
||||||
/** Serializable version identifier. */
|
/** Serializable version identifier. */
|
||||||
private static final long serialVersionUID = -2036131698031167221L;
|
private static final long serialVersionUID = -2036131698031167221L;
|
||||||
|
|
Loading…
Reference in New Issue