Permalink
Browse files

Creating Commons Math v3.0 RC1 tag.

  • Loading branch information...
1 parent 89e65ef commit 11a289cb9a8018b819acccf6998af21264737fa3 Gilles Sadowski committed Mar 1, 2012
Showing with 17 additions and 15 deletions.
  1. +3 −2 pom.xml
  2. +6 −6 src/main/java/org/apache/commons/math3/linear/SymmLQ.java
  3. +1 −1 src/site/site.xml
  4. +7 −6 src/site/xdoc/changes.xml
View
@@ -24,7 +24,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.commons</groupId>
<artifactId>commons-math3</artifactId>
- <version>3.0-SNAPSHOT</version>
+ <version>3.0</version>
<name>Commons Math</name>
<inceptionYear>2003</inceptionYear>
@@ -275,7 +275,8 @@
<properties>
<commons.componentid>math</commons.componentid>
- <commons.release.version>3.0-SNAPSHOT</commons.release.version>
+ <commons.release.version>3.0</commons.release.version>
+ <commons.rc.version>RC1</commons.rc.version>
<commons.binary.suffix></commons.binary.suffix>
<commons.jira.id>MATH</commons.jira.id>
<commons.jira.pid>12310485</commons.jira.pid>
@@ -658,17 +658,17 @@ private void updateNorms() {
*
* @version $Id$
*/
- private class SymmLQEvent extends IterativeLinearSolverEvent {
+ private static class SymmLQEvent extends IterativeLinearSolverEvent {
/*
* TODO This class relies dangerously on references being transparently
* updated.
*/
- /** */
+ /** Identifier. */
private static final long serialVersionUID = 2012012801L;
/** A reference to the state of this solver. */
- private final State state;
+ private final transient State state;
/**
* Creates a new instance of this class.
@@ -677,15 +677,15 @@ private void updateNorms() {
* occurred
* @param state the state of this solver at the time of creation
*/
- public SymmLQEvent(final Object source, final State state) {
- super(source, getIterationManager().getIterations());
+ public SymmLQEvent(final SymmLQ source, final State state) {
+ super(source, source.getIterationManager().getIterations());
this.state = state;
}
/** {@inheritDoc} */
@Override
public int getIterations() {
- return getIterationManager().getIterations();
+ return ((SymmLQ) getSource()).getIterationManager().getIterations();
}
/** {@inheritDoc} */
View
@@ -27,7 +27,7 @@
<item name="Overview" href="/index.html"/>
<item name="Proposal" href="/proposal.html"/>
<item name="Developers Guide" href="/developers.html"/>
- <item name="Javadoc (3.0-SNAPSHOT)" href="apidocs/index.html"/>
+ <item name="Javadoc (3.0 release)" href="apidocs/index.html"/>
<item name="Javadoc (2.2 release)"
href="http://commons.apache.org/math/api-2.2/index.html"/>
<item name="Javadoc (2.1 release)"
View
@@ -51,7 +51,7 @@ The <action> type attribute can be add,update,fix,remove.
with a new-line in the release notes. (These spaces are ignored when displaying HTML).
If the output is not quite correct, check for invisible trailing spaces!
-->
- <release version="3.0" date="TBD" description="
+ <release version="3.0" date="2012-03-07" description="
This is a major release: It combines bug fixes, new features and
changes to existing features.
@@ -64,25 +64,26 @@ removal of interfaces for which a single implementation is assumed to exist,
improved coding and API consistency across packages, performance (matrix
product, FFT) and robustness (SVD).
-Because of the bas package name change, this release can be used together
+Because of the base package name change, this release can be used together
with earlier versions of Commons Math.
The minimal version of the Java platform required to compile and use
Commons Math is Java 5.
-Users are encouraged to upgrade to this version, as in addition to new
+Users are encouraged to upgrade to this version as, in addition to new
features, this release includes numerous bug fixes.
Users of Commons Math 2.0-2 should recompile their code against the 3.0 JAR
file and must adjust the import statements to use the appropriate
org.apache.commons.math3 base package.
-Most of the compilation errors users will encounter after the switch will be
-due to moved or deleted classes/interfaces due to package reorganization.
+Most of the compilation errors users will encounter after the switch will
+be due to moved or deleted classes/interfaces resulting from package
+reorganization.
Caveat:
1. The implementation of the BOBYQA optimization algorithm is in alpha state
(cf. MATH-621): Many code paths are untested, and we are looking
for volunteers to improve the code readability, robustness and performance
and to extend the unit tests suite.
2. A few methods in the FastMath class are in fact slower that their
-counterparts in either Math or StrictMath (cf. MATH-740).
+counterpart in either Math or StrictMath (cf. MATH-740).
">
<action dev="erans" type="update" issue="MATH-698">
Classes "CMAESOptimizer" and "BOBYQAOptimizer" inherit from

0 comments on commit 11a289c

Please sign in to comment.