Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: converted to 1.6 markup

...

Follow the directions under "contributing" in the [Commons Math Developers Guide|http://jakarta.apache.org/commons/math/developers.html Commons Math Developers Guide]. Feedback and contributions from all interested parties are welcome. Extensive Java or mathematical knowledge is not required to participate (though some knowledge of one or the other is certainly helpful (wink)

1. Are instances of org.apache.commons.math.stat.descriptive.DescriptiveStatisticsImpl thread-safe?

No, they are not. By design, we chose not to introduce thread semantics into the classes. This allows the library to be used in environments where thread management by the application is to be avoided. The same is true of many other classes in commons-math, including the solvers in the analysis packageVersion 2.0 includes synchronized versions of several classes, including a SynchronizedDescriptiveStatistics class.

2. Can code derived from "Numerical Recipes" routines be included in commons-math?

Wiki MarkupAlgorithms implemented in "Numerical Recipes" are \[http://www.numerical-recipes.com/infotop.html#distinfo licensed under terms\] that are incompatible with the Apache license. As such, commons-math can not contain any code derived from these routines. The precedent we have established is to not allow any code developed using NR as a source and instead find alternate citations for the algorithms detailed in NR.