fixed javadoc comments, added @since tags to new classes and methods, corrected hyperlinks in user guide, add fraction unit tests.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@171283 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cd3a81c0bb
commit
66f5351b0b
|
@ -40,3 +40,5 @@ maven.javadoc.links = http://java.sun.com/j2se/1.4.2/docs/api/,\
|
|||
|
||||
maven.changes.issue.template=http://issues.apache.org/bugzilla/show_bug.cgi?id=%ISSUE%
|
||||
|
||||
maven.jar.override = on
|
||||
maven.jar.clover = 1.3.2
|
||||
|
|
|
@ -29,6 +29,7 @@ package org.apache.commons.math.distribution;
|
|||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @since 1.1
|
||||
* @version $Revision$ $Date$
|
||||
*/
|
||||
public interface CauchyDistribution extends ContinuousDistribution {
|
||||
|
|
|
@ -22,7 +22,8 @@ import java.io.Serializable;
|
|||
* Default implementation of
|
||||
* {@link org.apache.commons.math.distribution.CauchyDistribution}.
|
||||
*
|
||||
* @version $Revision: 1.13 $ $Date$
|
||||
* @since 1.1
|
||||
* @version $Revision$ $Date$
|
||||
*/
|
||||
public class CauchyDistributionImpl extends AbstractContinuousDistribution
|
||||
implements CauchyDistribution, Serializable {
|
||||
|
|
|
@ -85,6 +85,7 @@ public abstract class DistributionFactory {
|
|||
* @param median the median of the distribution
|
||||
* @param scale the scale
|
||||
* @return a new cauchy distribution
|
||||
* @since 1.1
|
||||
*/
|
||||
public CauchyDistribution createCauchyDistribution(
|
||||
double median, double scale)
|
||||
|
@ -188,6 +189,7 @@ public abstract class DistributionFactory {
|
|||
* @param alpha the shape parameter.
|
||||
* @param beta the scale parameter.
|
||||
* @return a new Weibull distribution.
|
||||
* @since 1.1
|
||||
*/
|
||||
public WeibullDistribution createWeibullDistribution(
|
||||
double alpha, double beta)
|
||||
|
|
|
@ -33,6 +33,7 @@ package org.apache.commons.math.distribution;
|
|||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @since 1.1
|
||||
* @version $Revision: 1.12 $ $Date: 2004-06-23 11:26:18 -0500 (Wed, 23 Jun 2004) $
|
||||
*/
|
||||
public interface WeibullDistribution extends ContinuousDistribution {
|
||||
|
|
|
@ -22,6 +22,7 @@ import java.io.Serializable;
|
|||
* Default implementation of
|
||||
* {@link org.apache.commons.math.distribution.WeibullDistribution}.
|
||||
*
|
||||
* @since 1.1
|
||||
* @version $Revision: 1.13 $ $Date: 2004-07-24 16:41:37 -0500 (Sat, 24 Jul 2004) $
|
||||
*/
|
||||
public class WeibullDistributionImpl extends AbstractContinuousDistribution
|
||||
|
@ -64,16 +65,16 @@ public class WeibullDistributionImpl extends AbstractContinuousDistribution
|
|||
}
|
||||
|
||||
/**
|
||||
* Access alpha.
|
||||
* @return the alpha.
|
||||
* Access the shape parameter.
|
||||
* @return the shape parameter.
|
||||
*/
|
||||
public double getShape() {
|
||||
return alpha;
|
||||
}
|
||||
|
||||
/**
|
||||
* Access beta.
|
||||
* @return the beta.
|
||||
* Access the scale parameter.
|
||||
* @return the scale parameter.
|
||||
*/
|
||||
public double getScale() {
|
||||
return beta;
|
||||
|
@ -107,8 +108,8 @@ public class WeibullDistributionImpl extends AbstractContinuousDistribution
|
|||
}
|
||||
|
||||
/**
|
||||
* Modify alpha.
|
||||
* @param alpha The new alpha value.
|
||||
* Modify the shape parameter.
|
||||
* @param alpha the new shape parameter value.
|
||||
*/
|
||||
public void setShape(double alpha) {
|
||||
if (alpha <= 0.0) {
|
||||
|
@ -119,8 +120,8 @@ public class WeibullDistributionImpl extends AbstractContinuousDistribution
|
|||
}
|
||||
|
||||
/**
|
||||
* Modify beta.
|
||||
* @param beta The new beta value.
|
||||
* Modify the scale parameter.
|
||||
* @param beta the new scale parameter value.
|
||||
*/
|
||||
public void setScale(double beta) {
|
||||
if (beta <= 0.0) {
|
||||
|
|
|
@ -22,7 +22,7 @@ import org.apache.commons.math.util.MathUtils;
|
|||
/**
|
||||
* Representation of a rational number.
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @since 1.1
|
||||
* @version $Revision$ $Date$
|
||||
*/
|
||||
public class Fraction extends Number implements Comparable {
|
||||
|
|
|
@ -31,7 +31,7 @@ import org.apache.commons.math.ConvergenceException;
|
|||
* format for each of the whole number, numerator and, denominator can be
|
||||
* configured.
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @since 1.1
|
||||
* @version $Revision$ $Date$
|
||||
*/
|
||||
public class FractionFormat extends Format implements Serializable {
|
||||
|
|
|
@ -25,7 +25,7 @@ import org.apache.commons.math.util.MathUtils;
|
|||
* Formats a Fraction number in proper format. The number format for each of
|
||||
* the whole number, numerator and, denominator can be configured.
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @since 1.1
|
||||
* @version $Revision$ $Date$
|
||||
*/
|
||||
public class ProperFractionFormat extends FractionFormat {
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
/*
|
||||
* Copyright 2005 The Apache Software Foundation.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
|
@ -26,6 +26,7 @@ package org.apache.commons.math.random;
|
|||
* performant implementations of the other methods if the underlying PRNG
|
||||
* supplies them.
|
||||
*
|
||||
* @since 1.1
|
||||
* @version $Revision$ $Date$
|
||||
*/
|
||||
public abstract class AbstractRandomGenerator implements RandomGenerator {
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
/*
|
||||
* Copyright 2005 The Apache Software Foundation.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
|
@ -21,6 +21,7 @@ import java.util.Random;
|
|||
* Extension of <code>java.util.Random</code> to implement
|
||||
* {@link RandomGenerator}.
|
||||
*
|
||||
* @since 1.1
|
||||
* @version $Revision:$ $Date$
|
||||
*/
|
||||
public class JDKRandomGenerator extends Random implements RandomGenerator {
|
||||
|
|
|
@ -100,6 +100,7 @@ public class RandomDataImpl implements RandomData, Serializable {
|
|||
* as the source of (non-secure) random data.
|
||||
*
|
||||
* @param rand the source of (non-secure) random data
|
||||
* @since 1.1
|
||||
*/
|
||||
public RandomDataImpl(RandomGenerator rand) {
|
||||
super();
|
||||
|
@ -290,7 +291,7 @@ public class RandomDataImpl implements RandomData, Serializable {
|
|||
* <strong>Algorithm Description</strong>:
|
||||
* Uses simulation of a Poisson process using Uniform deviates, as
|
||||
* described
|
||||
* <a href ="http://dmawww.epfl.ch/benarous/Pmmi/interactive/rng7.htm">
|
||||
* <a href="http://irmi.epfl.ch/cmos/Pmmi/interactive/rng7.htm">
|
||||
* here.</a>
|
||||
* <p>
|
||||
* The Poisson process (and hence value returned) is bounded by
|
||||
|
@ -396,6 +397,7 @@ public class RandomDataImpl implements RandomData, Serializable {
|
|||
* Creates and initializes a default generator if null.
|
||||
*
|
||||
* @return the Random used to generate random data
|
||||
* @since 1.1
|
||||
*/
|
||||
private RandomGenerator getRan() {
|
||||
if (rand == null) {
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
/*
|
||||
* Copyright 2005 The Apache Software Foundation.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
|
@ -19,6 +19,7 @@ package org.apache.commons.math.random;
|
|||
* Interface extracted from <code>java.util.Random</code>. This interface is
|
||||
* implemented by {@link AbstractRandomGenerator}.
|
||||
*
|
||||
* @since 1.1
|
||||
* @version $Revision:$ $Date$
|
||||
*/
|
||||
public interface RandomGenerator {
|
||||
|
|
|
@ -358,6 +358,7 @@ public class ValueServer {
|
|||
* of random data.
|
||||
*
|
||||
* @param randomData the RandomData instance used to source random data
|
||||
* @since 1.1
|
||||
*/
|
||||
public ValueServer(RandomData randomData) {
|
||||
super();
|
||||
|
|
|
@ -55,6 +55,7 @@ public final class MathUtils {
|
|||
* @param x the value to round.
|
||||
* @param scale the number of digits to the right of the decimal point.
|
||||
* @return the rounded value.
|
||||
* @since 1.1
|
||||
*/
|
||||
public static double round(double x, int scale) {
|
||||
return round(x, scale, BigDecimal.ROUND_HALF_UP);
|
||||
|
@ -69,6 +70,7 @@ public final class MathUtils {
|
|||
* @param roundingMethod the rounding method as defined in
|
||||
* {@link BigDecimal}.
|
||||
* @return the rounded value.
|
||||
* @since 1.1
|
||||
*/
|
||||
public static double round(
|
||||
double x, int scale, int roundingMethod)
|
||||
|
@ -83,6 +85,7 @@ public final class MathUtils {
|
|||
* @param x the value to round.
|
||||
* @param scale the number of digits to the right of the decimal point.
|
||||
* @return the rounded value.
|
||||
* @since 1.1
|
||||
*/
|
||||
public static float round(float x, int scale) {
|
||||
return round(x, scale, BigDecimal.ROUND_HALF_UP);
|
||||
|
@ -97,6 +100,7 @@ public final class MathUtils {
|
|||
* @param roundingMethod the rounding method as defined in
|
||||
* {@link BigDecimal}.
|
||||
* @return the rounded value.
|
||||
* @since 1.1
|
||||
*/
|
||||
public static float round(float x, int scale, int roundingMethod) {
|
||||
return (new BigDecimal(x).setScale(scale, roundingMethod)).floatValue();
|
||||
|
|
|
@ -39,6 +39,63 @@ public class FractionTest extends TestCase {
|
|||
assertFraction(-1, 2, new Fraction(1, -2));
|
||||
assertFraction(-1, 2, new Fraction(-2, 4));
|
||||
assertFraction(-1, 2, new Fraction(2, -4));
|
||||
|
||||
// overflow
|
||||
try {
|
||||
new Fraction(Integer.MIN_VALUE, -1);
|
||||
fail();
|
||||
} catch (ArithmeticException ex) {
|
||||
// success
|
||||
}
|
||||
try {
|
||||
new Fraction(1, Integer.MIN_VALUE);
|
||||
fail();
|
||||
} catch (ArithmeticException ex) {
|
||||
// success
|
||||
}
|
||||
}
|
||||
|
||||
public void testCompareTo() {
|
||||
Fraction first = new Fraction(1, 2);
|
||||
Fraction second = new Fraction(1, 3);
|
||||
Fraction third = new Fraction(1, 2);
|
||||
|
||||
assertEquals(0, first.compareTo(first));
|
||||
assertEquals(0, first.compareTo(third));
|
||||
assertEquals(1, first.compareTo(second));
|
||||
assertEquals(-1, second.compareTo(first));
|
||||
}
|
||||
|
||||
public void testDoubleValue() {
|
||||
Fraction first = new Fraction(1, 2);
|
||||
Fraction second = new Fraction(1, 3);
|
||||
|
||||
assertEquals(0.5, first.doubleValue(), 0.0);
|
||||
assertEquals(1.0 / 3.0, second.doubleValue(), 0.0);
|
||||
}
|
||||
|
||||
public void testFloatValue() {
|
||||
Fraction first = new Fraction(1, 2);
|
||||
Fraction second = new Fraction(1, 3);
|
||||
|
||||
assertEquals(0.5f, first.floatValue(), 0.0f);
|
||||
assertEquals((float)(1.0 / 3.0), second.floatValue(), 0.0f);
|
||||
}
|
||||
|
||||
public void testIntValue() {
|
||||
Fraction first = new Fraction(1, 2);
|
||||
Fraction second = new Fraction(3, 2);
|
||||
|
||||
assertEquals(0, first.intValue());
|
||||
assertEquals(1, second.intValue());
|
||||
}
|
||||
|
||||
public void testLongValue() {
|
||||
Fraction first = new Fraction(1, 2);
|
||||
Fraction second = new Fraction(3, 2);
|
||||
|
||||
assertEquals(0L, first.longValue());
|
||||
assertEquals(1L, second.longValue());
|
||||
}
|
||||
|
||||
public void testConstructorDouble() {
|
||||
|
|
|
@ -74,7 +74,7 @@
|
|||
<a href="http://issues.apache.org/bugzilla/createaccount.cgi">
|
||||
Setup an account on Bugzilla</a> and use it to submit patches and
|
||||
identify bugs. Read the
|
||||
<a href="http://issues.apache.org/bugzilla/bugwritinghelp.html">
|
||||
<a href="http://issues.apache.org/bugwritinghelp.html">
|
||||
directions</a> for submitting bugs and search the database to
|
||||
determine if an issue exists or has already been dealt with.
|
||||
<p>
|
||||
|
|
|
@ -29,74 +29,73 @@
|
|||
<ul>
|
||||
<li><a href="overview.html">0. Overview</a>
|
||||
<ul>
|
||||
<li><a href="overview.html#about">0.1 About the User Guide</a></li>
|
||||
<li><a href="overview.html#summary">0.2 What's in commons-math</a></li>
|
||||
<li><a href="overview.html#organization">0.3 How commons-math is organized</a></li>
|
||||
<li><a href="overview.html#contracts">0.4 How interface contracts are specified in commons-math javadoc</a></li>
|
||||
<li><a href="overview.html#dependencies">0.5 Dependencies</a></li>
|
||||
<li><a href="overview.html#0.1 About the User Guide">0.1 About the User Guide</a></li>
|
||||
<li><a href="overview.html#0.2 What&apos;s in commons-math">0.2 What's in commons-math</a></li>
|
||||
<li><a href="overview.html#0.3 How commons-math is organized">0.3 How commons-math is organized</a></li>
|
||||
<li><a href="overview.html#0.4 How interface contracts are specified in commons-math javadoc">0.4 How interface contracts are specified in commons-math javadoc</a></li>
|
||||
<li><a href="overview.html#0.5 Dependencies">0.5 Dependencies</a></li>
|
||||
</ul></li>
|
||||
|
||||
<li><a href="stat.html">1. Statistics</a>
|
||||
<ul>
|
||||
<li><a href="stat.html#overview">1.1 Overview</a></li>
|
||||
<li><a href="stat.html#descriptive">1.2 Descriptive statistics</a></li>
|
||||
<li><a href="stat.html#frequency">1.3 Frequency distributions</a></li>
|
||||
<li><a href="stat.html#regression">1.4 Simple regression</a></li>
|
||||
<li><a href="stat.html#tests">1.5 Statistical tests</a></li>
|
||||
<li><a href="stat.html#1.1 Overview">1.1 Overview</a></li>
|
||||
<li><a href="stat.html#1.2 Descriptive statistics">1.2 Descriptive statistics</a></li>
|
||||
<li><a href="stat.html#1.3 Frequency distributions">1.3 Frequency distributions</a></li>
|
||||
<li><a href="stat.html#1.4 Simple regression">1.4 Simple regression</a></li>
|
||||
<li><a href="stat.html#1.5 Statistical tests">1.5 Statistical tests</a></li>
|
||||
</ul></li>
|
||||
<li><a href="random.html">2. Data Generation</a>
|
||||
<ul>
|
||||
<li><a href="random.html#overview">2.1 Overview</a></li>
|
||||
<li><a href="random.html#deviates">2.2 Random numbers</a></li>
|
||||
<li><a href="random.html#strings">2.3 Random Strings</a></li>
|
||||
<li><a href="random.html#combinatorics">2.4 Random permutations, combinations, sampling</a></li>
|
||||
<li><a href="random.html#empirical">2.5 Generating data "like" an input file</a></li>
|
||||
<li><a href="random.html#2.1 Overview">2.1 Overview</a></li>
|
||||
<li><a href="random.html#2.2 Random numbers">2.2 Random numbers</a></li>
|
||||
<li><a href="random.html#2.3 Random Strings">2.3 Random Strings</a></li>
|
||||
<li><a href="random.html#2.4 Random permutations, combinations, sampling">2.4 Random permutations, combinations, sampling</a></li>
|
||||
<li><a href="random.html#2.5 Generating data &apos;like&apos; an input file">2.5 Generating data 'like' an input file</a></li>
|
||||
</ul></li>
|
||||
<li><a href="linear.html">3. Linear Algebra</a>
|
||||
<ul>
|
||||
<li><a href="linear.html#overview">3.1 Overview</a></li>
|
||||
<li><a href="linear.html#real_matrices">3.2 Real matrices</a></li>
|
||||
<li><a href="linear.html#solve">3.3 Solving linear systems</a></li>
|
||||
<li><a href="linear.html#3.1 Overview">3.1 Overview</a></li>
|
||||
<li><a href="linear.html#3.2 Real matrices">3.2 Real matrices</a></li>
|
||||
<li><a href="linear.html#3.3 Solving linear systems">3.3 Solving linear systems</a></li>
|
||||
</ul></li>
|
||||
<li><a href="analysis.html">4. Numerical Analysis</a>
|
||||
<ul>
|
||||
<li><a href="analysis.html#overview">4.1 Overview</a></li>
|
||||
<li><a href="analysis.html#rootfinding">4.2 Root-finding</a></li>
|
||||
<li><a href="analysis.html#interpolation">4.3 Interpolation</a></li>
|
||||
<li><a href="analysis.html#4.1 Overview">4.1 Overview</a></li>
|
||||
<li><a href="analysis.html#4.2 Root-finding">4.2 Root-finding</a></li>
|
||||
<li><a href="analysis.html#4.3 Interpolation">4.3 Interpolation</a></li>
|
||||
</ul></li>
|
||||
<li><a href="special.html">5. Special Functions</a>
|
||||
<ul>
|
||||
<li><a href="special.html#overview">5.1 Overview</a></li>
|
||||
<li><a href="special.html#erf">5.2 Erf functions</a></li>
|
||||
<li><a href="special.html#gamma">5.3 Gamma functions</a></li>
|
||||
<li><a href="special.html#beta">5.4 Beta funtions</a></li>
|
||||
<li><a href="special.html#5.1 Overview">5.1 Overview</a></li>
|
||||
<li><a href="special.html#5.2 Erf functions">5.2 Erf functions</a></li>
|
||||
<li><a href="special.html#5.3 Gamma functions">5.3 Gamma functions</a></li>
|
||||
<li><a href="special.html#5.4 Beta funtions">5.4 Beta funtions</a></li>
|
||||
</ul></li>
|
||||
<li><a href="utilities.html">6. Utilities</a>
|
||||
<ul>
|
||||
<li><a href="utilities.html#overview">6.1 Overview</a></li>
|
||||
<li><a href="utilities.html#arrays">6.2 Double array utilities</a></li>
|
||||
<li><a href="utilities.html#continued_fractions">6.3 Continued Fractions</a></li>
|
||||
<li><a href="utilities.html#math_utils">6.4 binomial coefficients, factorials and other common math functions</a></li>
|
||||
<li><a href="utilities.html#stat_utils">6.5 statistical computation utiliities</a></li>
|
||||
<li><a href="utilities.html#6.1 Overview">6.1 Overview</a></li>
|
||||
<li><a href="utilities.html#6.2 Double array utilities">6.2 Double array utilities</a></li>
|
||||
<li><a href="utilities.html#6.3 Continued Fractions">6.3 Continued Fractions</a></li>
|
||||
<li><a href="utilities.html#6.4 binomial coefficients, factorials and other common math functions">6.4 binomial coefficients, factorials and other common math functions</a></li>
|
||||
</ul></li>
|
||||
<li><a href="complex.html">7. Complex Numbers</a>
|
||||
<ul>
|
||||
<li><a href="complex.html#overview">7.1 Overview</a></li>
|
||||
<li><a href="complex.html#complex">7.2 Complex Numbers</a></li>
|
||||
<li><a href="complex.html#functions">7.3 Complex Transcendental Functions</a></li>
|
||||
<li><a href="complex.html#formatting">7.4 Complex Formatting and Parsing</a></li>
|
||||
<li><a href="complex.html#7.1 Overview">7.1 Overview</a></li>
|
||||
<li><a href="complex.html#7.2 Complex Numbers">7.2 Complex Numbers</a></li>
|
||||
<li><a href="complex.html#7.3 Complex Transcendental Functions">7.3 Complex Transcendental Functions</a></li>
|
||||
<li><a href="complex.html#7.4 Complex Formatting and Parsing">7.4 Complex Formatting and Parsing</a></li>
|
||||
</ul></li>
|
||||
<li><a href="distribution.html">8. Probability Distributions</a>
|
||||
<ul>
|
||||
<li><a href="distribution.html#overview">8.1 Overview</a></li>
|
||||
<li><a href="distribution.html#distributions">8.2 Distribution Framework</a></li>
|
||||
<li><a href="distribution.html#userdefined">8.3 User Defined Distributions</a></li>
|
||||
<li><a href="distribution.html#8.1 Overview">8.1 Overview</a></li>
|
||||
<li><a href="distribution.html#8.2 Distribution Framework">8.2 Distribution Framework</a></li>
|
||||
<li><a href="distribution.html#8.3 User Defined Distributions">8.3 User Defined Distributions</a></li>
|
||||
</ul></li>
|
||||
<li><a href="fraction.html">9. Fractions</a>
|
||||
<ul>
|
||||
<li><a href="fraction.html#overview">9.1 Overview</a></li>
|
||||
<li><a href="fraction.html#fraction">9.2 Fraction Numbers</a></li>
|
||||
<li><a href="fraction.html#formatting">9.3 Fraction Formatting and Parsing</a></li>
|
||||
<li><a href="fraction.html#9.1 Overview">9.1 Overview</a></li>
|
||||
<li><a href="fraction.html#9.2 Fraction Numbers">9.2 Fraction Numbers</a></li>
|
||||
<li><a href="fraction.html#9.3 Fraction Formatting and Parsing">9.3 Fraction Formatting and Parsing</a></li>
|
||||
</ul></li>
|
||||
</ul>
|
||||
</section>
|
||||
|
|
|
@ -67,7 +67,7 @@
|
|||
|
||||
<subsection name="0.3 How commons-math is organized" href="organization">
|
||||
<p>
|
||||
Commons Math is divided into eight subpackages, based on functionality provided.
|
||||
Commons Math is divided into nine subpackages, based on functionality provided.
|
||||
<ol>
|
||||
<li><a href="stat.html">org.apache.commons.math.stat</a> - statistics, statistical tests</li>
|
||||
<li><a href="analysis.html">org.apache.commons.math.analysis</a> - rootfinding and interpolation</li>
|
||||
|
@ -77,6 +77,7 @@
|
|||
<li><a href="utilities.html">org.apache.commons.math.util</a> - common math/stat functions extending java.lang.Math </li>
|
||||
<li><a href="complex.html">org.apache.commons.math.complex</a> - complex numbers</li>
|
||||
<li><a href="distribution.html">org.apache.commons.math.distribution</a> - probability distributions</li>
|
||||
<li><a href="fraction.html">org.apache.commons.math.fraction</a> - rational numbers</li>
|
||||
</ol>
|
||||
Package javadocs are <a href="../apidocs/index.html">here</a>
|
||||
</p>
|
||||
|
|
|
@ -178,7 +178,7 @@
|
|||
</p>
|
||||
</subsection>
|
||||
|
||||
<subsection name='2.5 Generating data "like" an input file' href="empirical">
|
||||
<subsection name="2.5 Generating data 'like' an input file" href="empirical">
|
||||
<p>
|
||||
Using the <code>ValueServer</code> class, you can generate data based on the
|
||||
values in an input file in one of two ways:
|
||||
|
|
Loading…
Reference in New Issue