Happy New Year, updating all license years to 2004
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141074 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1177050dc6
commit
19080d7f09
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -56,7 +56,7 @@ package org.apache.commons.math.analysis;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @todo add javadoc comment
|
* @todo add javadoc comment
|
||||||
* @version $Revision: 1.1 $ $Date: 2003/11/22 05:59:31 $
|
* @version $Revision: 1.2 $ $Date: 2004/01/29 00:48:57 $
|
||||||
*/
|
*/
|
||||||
public abstract class UnivariateRealFunctionProxy
|
public abstract class UnivariateRealFunctionProxy
|
||||||
implements UnivariateRealFunction {
|
implements UnivariateRealFunction {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -60,7 +60,7 @@ import org.apache.commons.math.analysis.derivative.ForwardDifferenceDerivative;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @todo add javadoc comment
|
* @todo add javadoc comment
|
||||||
* @version $Revision: 1.1 $ $Date: 2003/11/22 05:59:31 $
|
* @version $Revision: 1.2 $ $Date: 2004/01/29 00:48:57 $
|
||||||
*/
|
*/
|
||||||
public class UnivariateRealFunctionUtils {
|
public class UnivariateRealFunctionUtils {
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -58,7 +58,7 @@ import junit.framework.TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @todo add javadoc comment
|
* @todo add javadoc comment
|
||||||
* @version $Revision: 1.1 $ $Date: 2003/11/22 05:59:31 $
|
* @version $Revision: 1.2 $ $Date: 2004/01/29 00:48:57 $
|
||||||
*/
|
*/
|
||||||
public class UnivariateRealFunctionUtilsTest extends TestCase {
|
public class UnivariateRealFunctionUtilsTest extends TestCase {
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -59,7 +59,7 @@ import org.apache.commons.math.analysis.UnivariateRealFunctionProxy;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @todo add javadoc comment
|
* @todo add javadoc comment
|
||||||
* @version $Revision: 1.1 $ $Date: 2003/11/22 05:59:31 $
|
* @version $Revision: 1.2 $ $Date: 2004/01/29 00:49:02 $
|
||||||
*/
|
*/
|
||||||
public abstract class AbstractDifferenceDerivative extends UnivariateRealFunctionProxy implements UnivariateRealFunction {
|
public abstract class AbstractDifferenceDerivative extends UnivariateRealFunctionProxy implements UnivariateRealFunction {
|
||||||
/** */
|
/** */
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -59,7 +59,7 @@ import org.apache.commons.math.analysis.UnivariateRealFunction;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @todo add javadoc comment
|
* @todo add javadoc comment
|
||||||
* @version $Revision: 1.1 $ $Date: 2003/11/22 05:59:31 $
|
* @version $Revision: 1.2 $ $Date: 2004/01/29 00:49:02 $
|
||||||
*/
|
*/
|
||||||
public class BackwardDifferenceDerivative extends AbstractDifferenceDerivative {
|
public class BackwardDifferenceDerivative extends AbstractDifferenceDerivative {
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -59,7 +59,7 @@ import org.apache.commons.math.analysis.UnivariateRealFunction;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @todo add javadoc comment
|
* @todo add javadoc comment
|
||||||
* @version $Revision: 1.1 $ $Date: 2003/11/22 05:59:31 $
|
* @version $Revision: 1.2 $ $Date: 2004/01/29 00:49:02 $
|
||||||
*/
|
*/
|
||||||
public class CenterDifferenceDerivative extends AbstractDifferenceDerivative {
|
public class CenterDifferenceDerivative extends AbstractDifferenceDerivative {
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -59,7 +59,7 @@ import org.apache.commons.math.analysis.UnivariateRealFunction;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @todo add javadoc comment
|
* @todo add javadoc comment
|
||||||
* @version $Revision: 1.1 $ $Date: 2003/11/22 05:59:31 $
|
* @version $Revision: 1.2 $ $Date: 2004/01/29 00:49:02 $
|
||||||
*/
|
*/
|
||||||
public class ForwardDifferenceDerivative extends AbstractDifferenceDerivative {
|
public class ForwardDifferenceDerivative extends AbstractDifferenceDerivative {
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -59,7 +59,7 @@ import java.io.Serializable;
|
||||||
* Error thrown when a numerical computation can not be performed because the
|
* Error thrown when a numerical computation can not be performed because the
|
||||||
* numerical result failed to converge to a finite value.
|
* numerical result failed to converge to a finite value.
|
||||||
*
|
*
|
||||||
* @version $Revision: 1.7 $ $Date: 2003/11/19 03:28:25 $
|
* @version $Revision: 1.8 $ $Date: 2004/01/29 00:49:02 $
|
||||||
*/
|
*/
|
||||||
public class ConvergenceException extends MathException implements Serializable{
|
public class ConvergenceException extends MathException implements Serializable{
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -57,7 +57,7 @@ import java.io.Serializable;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Signals a configuration problem with any of the factory methods.
|
* Signals a configuration problem with any of the factory methods.
|
||||||
* @version $Revision: 1.12 $ $Date: 2003/11/19 03:28:25 $
|
* @version $Revision: 1.13 $ $Date: 2004/01/29 00:49:02 $
|
||||||
*/
|
*/
|
||||||
public class MathConfigurationException extends MathException implements Serializable {
|
public class MathConfigurationException extends MathException implements Serializable {
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -59,7 +59,7 @@ import org.apache.commons.lang.exception.NestableException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A generic exception indicating problems in the math package.
|
* A generic exception indicating problems in the math package.
|
||||||
* @version $Revision: 1.11 $ $Date: 2003/11/19 03:28:25 $
|
* @version $Revision: 1.12 $ $Date: 2004/01/29 00:49:02 $
|
||||||
*/
|
*/
|
||||||
public class MathException extends NestableException implements Serializable {
|
public class MathException extends NestableException implements Serializable {
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -61,7 +61,7 @@ import org.apache.commons.math.MathException;
|
||||||
* Provide the bisection algorithm for solving for zeros of real univariate
|
* Provide the bisection algorithm for solving for zeros of real univariate
|
||||||
* functions. It will only search for one zero in the given interval. The
|
* functions. It will only search for one zero in the given interval. The
|
||||||
* function is supposed to be continuous but not necessarily smooth.
|
* function is supposed to be continuous but not necessarily smooth.
|
||||||
* @version $Revision: 1.8 $ $Date: 2003/11/19 03:28:23 $
|
* @version $Revision: 1.9 $ $Date: 2004/01/29 00:49:00 $
|
||||||
*/
|
*/
|
||||||
public class BisectionSolver extends UnivariateRealSolverImpl implements Serializable {
|
public class BisectionSolver extends UnivariateRealSolverImpl implements Serializable {
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -63,7 +63,7 @@ import org.apache.commons.math.MathException;
|
||||||
* It will only search for one zero in the given interval.
|
* It will only search for one zero in the given interval.
|
||||||
* The function is supposed to be continuous but not necessarily smooth.
|
* The function is supposed to be continuous but not necessarily smooth.
|
||||||
*
|
*
|
||||||
* @version $Revision: 1.9 $ $Date: 2003/11/19 03:28:23 $
|
* @version $Revision: 1.10 $ $Date: 2004/01/29 00:49:00 $
|
||||||
*/
|
*/
|
||||||
public class BrentSolver extends UnivariateRealSolverImpl implements Serializable {
|
public class BrentSolver extends UnivariateRealSolverImpl implements Serializable {
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -65,7 +65,7 @@ import org.apache.commons.math.MathException;
|
||||||
* polynominal coefficents are used.
|
* polynominal coefficents are used.
|
||||||
* Arguments outside of the domain cause an IllegalArgumentException.
|
* Arguments outside of the domain cause an IllegalArgumentException.
|
||||||
*
|
*
|
||||||
* @version $Revision: 1.9 $ $Date: 2003/11/19 03:28:23 $
|
* @version $Revision: 1.10 $ $Date: 2004/01/29 00:49:00 $
|
||||||
*/
|
*/
|
||||||
public class CubicSplineFunction implements UnivariateRealFunction, Serializable {
|
public class CubicSplineFunction implements UnivariateRealFunction, Serializable {
|
||||||
/** Spline segment interval delimiters. Size is N+1 for N segments. */
|
/** Spline segment interval delimiters. Size is N+1 for N segments. */
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -66,7 +66,7 @@ import org.apache.commons.math.MathException;
|
||||||
* polynominal coefficents are used.
|
* polynominal coefficents are used.
|
||||||
* Arguments outside of the domain cause an IllegalArgumentException.
|
* Arguments outside of the domain cause an IllegalArgumentException.
|
||||||
*
|
*
|
||||||
* @version $Revision: 1.2 $ $Date: 2003/11/19 03:28:23 $
|
* @version $Revision: 1.3 $ $Date: 2004/01/29 00:49:00 $
|
||||||
*/
|
*/
|
||||||
public class PolynomialFunction implements UnivariateRealFunction, Serializable {
|
public class PolynomialFunction implements UnivariateRealFunction, Serializable {
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -65,7 +65,7 @@ import org.apache.commons.math.MathException;
|
||||||
* It will only search for one zero in the given interval.
|
* It will only search for one zero in the given interval.
|
||||||
* The function is supposed to be continuous but not necessarily smooth.
|
* The function is supposed to be continuous but not necessarily smooth.
|
||||||
*
|
*
|
||||||
* @version $Revision: 1.9 $ $Date: 2003/11/19 03:28:23 $
|
* @version $Revision: 1.10 $ $Date: 2004/01/29 00:49:00 $
|
||||||
*/
|
*/
|
||||||
public class SecantSolver extends UnivariateRealSolverImpl implements Serializable {
|
public class SecantSolver extends UnivariateRealSolverImpl implements Serializable {
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -58,7 +58,7 @@ import java.io.Serializable;
|
||||||
/**
|
/**
|
||||||
* Computes a natural spline interpolation for the data set.
|
* Computes a natural spline interpolation for the data set.
|
||||||
*
|
*
|
||||||
* @version $Revision: 1.11 $ $Date: 2003/12/27 15:22:34 $
|
* @version $Revision: 1.12 $ $Date: 2004/01/29 00:49:00 $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class SplineInterpolator implements UnivariateRealInterpolator, Serializable {
|
public class SplineInterpolator implements UnivariateRealInterpolator, Serializable {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -62,7 +62,7 @@ import org.apache.commons.math.MathException;
|
||||||
* that derivatives are evaluated after the value, the evaluation algorithm
|
* that derivatives are evaluated after the value, the evaluation algorithm
|
||||||
* should throw an InvalidStateException if it can't cope with this.
|
* should throw an InvalidStateException if it can't cope with this.
|
||||||
*
|
*
|
||||||
* @version $Revision: 1.9 $ $Date: 2003/11/15 18:44:52 $
|
* @version $Revision: 1.10 $ $Date: 2004/01/29 00:49:00 $
|
||||||
*/
|
*/
|
||||||
public interface UnivariateRealFunction {
|
public interface UnivariateRealFunction {
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -58,7 +58,7 @@ import org.apache.commons.math.MathException;
|
||||||
/**
|
/**
|
||||||
* Interface for interpolating a data set.
|
* Interface for interpolating a data set.
|
||||||
*
|
*
|
||||||
* @version $Revision: 1.7 $ $Date: 2003/11/14 22:22:17 $
|
* @version $Revision: 1.8 $ $Date: 2004/01/29 00:49:00 $
|
||||||
*/
|
*/
|
||||||
public interface UnivariateRealInterpolator {
|
public interface UnivariateRealInterpolator {
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -60,7 +60,7 @@ import org.apache.commons.math.MathException;
|
||||||
* functions.
|
* functions.
|
||||||
* An implementation will only search for one zero in the given interval.
|
* An implementation will only search for one zero in the given interval.
|
||||||
*
|
*
|
||||||
* @version $Revision: 1.8 $ $Date: 2003/11/14 22:22:17 $
|
* @version $Revision: 1.9 $ $Date: 2004/01/29 00:49:00 $
|
||||||
*/
|
*/
|
||||||
public interface UnivariateRealSolver {
|
public interface UnivariateRealSolver {
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -63,7 +63,7 @@ import org.apache.commons.discovery.tools.DiscoverClass;
|
||||||
* (this may be controversial, because the configuration data
|
* (this may be controversial, because the configuration data
|
||||||
* may also be used for the default solver used by the static
|
* may also be used for the default solver used by the static
|
||||||
* solve() method).
|
* solve() method).
|
||||||
* @version $Revision: 1.10 $ $Date: 2003/11/14 22:22:17 $
|
* @version $Revision: 1.11 $ $Date: 2004/01/29 00:49:00 $
|
||||||
*/
|
*/
|
||||||
public abstract class UnivariateRealSolverFactory {
|
public abstract class UnivariateRealSolverFactory {
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -64,7 +64,7 @@ import java.io.Serializable;
|
||||||
* (this may be controversial, because the configuration data
|
* (this may be controversial, because the configuration data
|
||||||
* may also be used for the default solver used by the static
|
* may also be used for the default solver used by the static
|
||||||
* solve() method).
|
* solve() method).
|
||||||
* @version $Revision: 1.7 $ $Date: 2003/11/19 03:28:23 $
|
* @version $Revision: 1.8 $ $Date: 2004/01/29 00:49:00 $
|
||||||
*/
|
*/
|
||||||
public class UnivariateRealSolverFactoryImpl
|
public class UnivariateRealSolverFactoryImpl
|
||||||
extends UnivariateRealSolverFactory implements Serializable {
|
extends UnivariateRealSolverFactory implements Serializable {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -62,7 +62,7 @@ import org.apache.commons.math.MathException;
|
||||||
* Provide a default implementation for several functions useful to generic
|
* Provide a default implementation for several functions useful to generic
|
||||||
* solvers.
|
* solvers.
|
||||||
*
|
*
|
||||||
* @version $Revision: 1.8 $ $Date: 2003/11/19 03:28:23 $
|
* @version $Revision: 1.9 $ $Date: 2004/01/29 00:49:00 $
|
||||||
*/
|
*/
|
||||||
public abstract class UnivariateRealSolverImpl
|
public abstract class UnivariateRealSolverImpl
|
||||||
implements UnivariateRealSolver, Serializable {
|
implements UnivariateRealSolver, Serializable {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -57,7 +57,7 @@ import org.apache.commons.math.MathException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Utility routines for {@link UnivariateRealSolver} objects.
|
* Utility routines for {@link UnivariateRealSolver} objects.
|
||||||
* @version $Revision: 1.5 $ $Date: 2003/11/14 22:22:18 $
|
* @version $Revision: 1.6 $ $Date: 2004/01/29 00:49:00 $
|
||||||
*/
|
*/
|
||||||
public class UnivariateRealSolverUtils {
|
public class UnivariateRealSolverUtils {
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -62,7 +62,7 @@ import java.io.Serializable;
|
||||||
* Reference:
|
* Reference:
|
||||||
* http://myweb.lmu.edu/dmsmith/ZMLIB.pdf
|
* http://myweb.lmu.edu/dmsmith/ZMLIB.pdf
|
||||||
*
|
*
|
||||||
* @version $Revision: 1.4 $ $Date: 2003/11/19 03:28:25 $
|
* @version $Revision: 1.5 $ $Date: 2004/01/29 00:48:58 $
|
||||||
*/
|
*/
|
||||||
public class Complex implements Serializable {
|
public class Complex implements Serializable {
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -62,7 +62,7 @@ import org.apache.commons.math.util.MathUtils;
|
||||||
* Reference:
|
* Reference:
|
||||||
* http://myweb.lmu.edu/dmsmith/ZMLIB.pdf
|
* http://myweb.lmu.edu/dmsmith/ZMLIB.pdf
|
||||||
*
|
*
|
||||||
* @version $Revision: 1.5 $ $Date: 2004/01/26 19:41:16 $
|
* @version $Revision: 1.6 $ $Date: 2004/01/29 00:48:58 $
|
||||||
*/
|
*/
|
||||||
public class ComplexMath {
|
public class ComplexMath {
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -62,7 +62,7 @@ import org.apache.commons.math.analysis.UnivariateRealSolverUtils;
|
||||||
* implementations for some of the methods that do not vary from distribution
|
* implementations for some of the methods that do not vary from distribution
|
||||||
* to distribution.
|
* to distribution.
|
||||||
*
|
*
|
||||||
* @version $Revision: 1.16 $ $Date: 2003/11/19 03:22:53 $
|
* @version $Revision: 1.17 $ $Date: 2004/01/29 00:48:58 $
|
||||||
*/
|
*/
|
||||||
public abstract class AbstractContinuousDistribution
|
public abstract class AbstractContinuousDistribution
|
||||||
implements ContinuousDistribution {
|
implements ContinuousDistribution {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -61,7 +61,7 @@ import org.apache.commons.math.MathException;
|
||||||
* implementations for some of the methods that do not vary from distribution
|
* implementations for some of the methods that do not vary from distribution
|
||||||
* to distribution.
|
* to distribution.
|
||||||
*
|
*
|
||||||
* @version $Revision: 1.8 $ $Date: 2003/11/19 03:22:53 $
|
* @version $Revision: 1.9 $ $Date: 2004/01/29 00:48:58 $
|
||||||
*/
|
*/
|
||||||
public abstract class AbstractDiscreteDistribution
|
public abstract class AbstractDiscreteDistribution
|
||||||
implements DiscreteDistribution {
|
implements DiscreteDistribution {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -65,7 +65,7 @@ package org.apache.commons.math.distribution;
|
||||||
* Binomial Distribution</a></li>
|
* Binomial Distribution</a></li>
|
||||||
* </ul>
|
* </ul>
|
||||||
*
|
*
|
||||||
* @version $Revision: 1.7 $ $Date: 2003/11/15 16:01:35 $
|
* @version $Revision: 1.8 $ $Date: 2004/01/29 00:48:58 $
|
||||||
*/
|
*/
|
||||||
public interface BinomialDistribution extends DiscreteDistribution {
|
public interface BinomialDistribution extends DiscreteDistribution {
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -62,7 +62,7 @@ import org.apache.commons.math.util.MathUtils;
|
||||||
/**
|
/**
|
||||||
* The default implementation of {@link BinomialDistribution}.
|
* The default implementation of {@link BinomialDistribution}.
|
||||||
*
|
*
|
||||||
* @version $Revision: 1.8 $ $Date: 2003/11/19 03:22:53 $
|
* @version $Revision: 1.9 $ $Date: 2004/01/29 00:48:58 $
|
||||||
*/
|
*/
|
||||||
public class BinomialDistributionImpl
|
public class BinomialDistributionImpl
|
||||||
extends AbstractDiscreteDistribution
|
extends AbstractDiscreteDistribution
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -65,7 +65,7 @@ package org.apache.commons.math.distribution;
|
||||||
* Chi-Squared Distribution</a></li>
|
* Chi-Squared Distribution</a></li>
|
||||||
* </ul>
|
* </ul>
|
||||||
*
|
*
|
||||||
* @version $Revision: 1.10 $ $Date: 2003/11/15 16:01:35 $
|
* @version $Revision: 1.11 $ $Date: 2004/01/29 00:48:58 $
|
||||||
*/
|
*/
|
||||||
public interface ChiSquaredDistribution extends ContinuousDistribution {
|
public interface ChiSquaredDistribution extends ContinuousDistribution {
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -60,7 +60,7 @@ import org.apache.commons.math.MathException;
|
||||||
/**
|
/**
|
||||||
* The default implementation of {@link ChiSquaredDistribution}
|
* The default implementation of {@link ChiSquaredDistribution}
|
||||||
*
|
*
|
||||||
* @version $Revision: 1.11 $ $Date: 2003/11/19 03:22:53 $
|
* @version $Revision: 1.12 $ $Date: 2004/01/29 00:48:58 $
|
||||||
*/
|
*/
|
||||||
public class ChiSquaredDistributionImpl
|
public class ChiSquaredDistributionImpl
|
||||||
extends AbstractContinuousDistribution
|
extends AbstractContinuousDistribution
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -58,7 +58,7 @@ import org.apache.commons.math.MathException;
|
||||||
/**
|
/**
|
||||||
* Base interface for various continuous distributions.
|
* Base interface for various continuous distributions.
|
||||||
*
|
*
|
||||||
* @version $Revision: 1.9 $ $Date: 2003/11/19 03:22:53 $
|
* @version $Revision: 1.10 $ $Date: 2004/01/29 00:48:58 $
|
||||||
*/
|
*/
|
||||||
public interface ContinuousDistribution {
|
public interface ContinuousDistribution {
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -58,7 +58,7 @@ import org.apache.commons.math.MathException;
|
||||||
/**
|
/**
|
||||||
* Base interface for various discrete distributions.
|
* Base interface for various discrete distributions.
|
||||||
*
|
*
|
||||||
* @version $Revision: 1.7 $ $Date: 2003/11/19 03:22:53 $
|
* @version $Revision: 1.8 $ $Date: 2004/01/29 00:48:58 $
|
||||||
*/
|
*/
|
||||||
public interface DiscreteDistribution {
|
public interface DiscreteDistribution {
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -64,7 +64,7 @@ package org.apache.commons.math.distribution;
|
||||||
* <li><a href="http://mathworld.wolfram.com/ExponentialDistribution.html">
|
* <li><a href="http://mathworld.wolfram.com/ExponentialDistribution.html">
|
||||||
* Exponential Distribution</a></li>
|
* Exponential Distribution</a></li>
|
||||||
*
|
*
|
||||||
* @version $Revision: 1.8 $ $Date: 2003/11/15 16:01:36 $
|
* @version $Revision: 1.9 $ $Date: 2004/01/29 00:48:58 $
|
||||||
*/
|
*/
|
||||||
public interface ExponentialDistribution extends ContinuousDistribution {
|
public interface ExponentialDistribution extends ContinuousDistribution {
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -60,7 +60,7 @@ import org.apache.commons.math.MathException;
|
||||||
/**
|
/**
|
||||||
* The default implementation of {@link ExponentialDistribution}
|
* The default implementation of {@link ExponentialDistribution}
|
||||||
*
|
*
|
||||||
* @version $Revision: 1.10 $ $Date: 2003/11/19 03:22:53 $
|
* @version $Revision: 1.11 $ $Date: 2004/01/29 00:48:58 $
|
||||||
*/
|
*/
|
||||||
public class ExponentialDistributionImpl
|
public class ExponentialDistributionImpl
|
||||||
implements ExponentialDistribution, Serializable {
|
implements ExponentialDistribution, Serializable {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -65,7 +65,7 @@ package org.apache.commons.math.distribution;
|
||||||
* F-Distribution</a></li>
|
* F-Distribution</a></li>
|
||||||
* </ul>
|
* </ul>
|
||||||
*
|
*
|
||||||
* @version $Revision: 1.9 $ $Date: 2003/11/15 16:01:36 $
|
* @version $Revision: 1.10 $ $Date: 2004/01/29 00:48:58 $
|
||||||
*/
|
*/
|
||||||
public interface FDistribution extends ContinuousDistribution {
|
public interface FDistribution extends ContinuousDistribution {
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -62,7 +62,7 @@ import org.apache.commons.math.special.Beta;
|
||||||
* Default implementation of
|
* Default implementation of
|
||||||
* {@link org.apache.commons.math.distribution.FDistribution}.
|
* {@link org.apache.commons.math.distribution.FDistribution}.
|
||||||
*
|
*
|
||||||
* @version $Revision: 1.11 $ $Date: 2003/11/19 03:22:53 $
|
* @version $Revision: 1.12 $ $Date: 2004/01/29 00:48:58 $
|
||||||
*/
|
*/
|
||||||
public class FDistributionImpl
|
public class FDistributionImpl
|
||||||
extends AbstractContinuousDistribution
|
extends AbstractContinuousDistribution
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -65,7 +65,7 @@ package org.apache.commons.math.distribution;
|
||||||
* Gamma Distribution</a></li>
|
* Gamma Distribution</a></li>
|
||||||
* </ul>
|
* </ul>
|
||||||
*
|
*
|
||||||
* @version $Revision: 1.11 $ $Date: 2003/11/15 16:01:36 $
|
* @version $Revision: 1.12 $ $Date: 2004/01/29 00:48:58 $
|
||||||
*/
|
*/
|
||||||
public interface GammaDistribution extends ContinuousDistribution {
|
public interface GammaDistribution extends ContinuousDistribution {
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -61,7 +61,7 @@ import org.apache.commons.math.special.Gamma;
|
||||||
/**
|
/**
|
||||||
* The default implementation of {@link GammaDistribution}
|
* The default implementation of {@link GammaDistribution}
|
||||||
*
|
*
|
||||||
* @version $Revision: 1.14 $ $Date: 2003/11/19 03:22:53 $
|
* @version $Revision: 1.15 $ $Date: 2004/01/29 00:48:58 $
|
||||||
*/
|
*/
|
||||||
public class GammaDistributionImpl extends AbstractContinuousDistribution
|
public class GammaDistributionImpl extends AbstractContinuousDistribution
|
||||||
implements GammaDistribution, Serializable {
|
implements GammaDistribution, Serializable {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -66,7 +66,7 @@ package org.apache.commons.math.distribution;
|
||||||
* Hypergeometric Distribution</a></li>
|
* Hypergeometric Distribution</a></li>
|
||||||
* </ul>
|
* </ul>
|
||||||
*
|
*
|
||||||
* @version $Revision: 1.6 $ $Date: 2003/11/15 16:01:36 $
|
* @version $Revision: 1.7 $ $Date: 2004/01/29 00:48:58 $
|
||||||
*/
|
*/
|
||||||
public interface HypergeometricDistribution extends DiscreteDistribution {
|
public interface HypergeometricDistribution extends DiscreteDistribution {
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -62,7 +62,7 @@ import org.apache.commons.math.util.MathUtils;
|
||||||
/**
|
/**
|
||||||
* The default implementation of {@link HypergeometricDistribution}.
|
* The default implementation of {@link HypergeometricDistribution}.
|
||||||
*
|
*
|
||||||
* @version $Revision: 1.7 $ $Date: 2003/11/19 03:22:53 $
|
* @version $Revision: 1.8 $ $Date: 2004/01/29 00:48:58 $
|
||||||
*/
|
*/
|
||||||
public class HypergeometricDistributionImpl extends AbstractDiscreteDistribution
|
public class HypergeometricDistributionImpl extends AbstractDiscreteDistribution
|
||||||
implements HypergeometricDistribution, Serializable
|
implements HypergeometricDistribution, Serializable
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -65,7 +65,7 @@ package org.apache.commons.math.distribution;
|
||||||
* Student's t-Distribution</a></li>
|
* Student's t-Distribution</a></li>
|
||||||
* </ul>
|
* </ul>
|
||||||
*
|
*
|
||||||
* @version $Revision: 1.8 $ $Date: 2003/11/15 16:01:36 $
|
* @version $Revision: 1.9 $ $Date: 2004/01/29 00:48:58 $
|
||||||
*/
|
*/
|
||||||
public interface TDistribution extends ContinuousDistribution {
|
public interface TDistribution extends ContinuousDistribution {
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -62,7 +62,7 @@ import org.apache.commons.math.special.Beta;
|
||||||
* Default implementation of
|
* Default implementation of
|
||||||
* {@link org.apache.commons.math.distribution.TDistribution}.
|
* {@link org.apache.commons.math.distribution.TDistribution}.
|
||||||
*
|
*
|
||||||
* @version $Revision: 1.11 $ $Date: 2003/11/19 03:22:53 $
|
* @version $Revision: 1.12 $ $Date: 2004/01/29 00:48:58 $
|
||||||
*/
|
*/
|
||||||
public class TDistributionImpl
|
public class TDistributionImpl
|
||||||
extends AbstractContinuousDistribution
|
extends AbstractContinuousDistribution
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -56,7 +56,7 @@ package org.apache.commons.math.linear;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Interface defining a real-valued matrix with basic algebraic operations
|
* Interface defining a real-valued matrix with basic algebraic operations
|
||||||
* @version $Revision: 1.8 $ $Date: 2004/01/28 20:15:03 $
|
* @version $Revision: 1.9 $ $Date: 2004/01/29 00:49:03 $
|
||||||
*/
|
*/
|
||||||
public interface RealMatrix {
|
public interface RealMatrix {
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -78,7 +78,7 @@ import java.io.Serializable;
|
||||||
* explicitly invoke <code>LUDecompose()</code> to recompute the decomposition
|
* explicitly invoke <code>LUDecompose()</code> to recompute the decomposition
|
||||||
* before using any of the methods above.
|
* before using any of the methods above.
|
||||||
*
|
*
|
||||||
* @version $Revision: 1.10 $ $Date: 2004/01/28 20:15:03 $
|
* @version $Revision: 1.11 $ $Date: 2004/01/29 00:49:03 $
|
||||||
*/
|
*/
|
||||||
public class RealMatrixImpl implements RealMatrix, Serializable {
|
public class RealMatrixImpl implements RealMatrix, Serializable {
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -57,7 +57,7 @@ import java.util.Collection;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Random data generation utilities
|
* Random data generation utilities
|
||||||
* @version $Revision: 1.6 $ $Date: 2003/11/14 22:22:21 $
|
* @version $Revision: 1.7 $ $Date: 2004/01/29 00:49:01 $
|
||||||
*/
|
*/
|
||||||
public interface RandomData {
|
public interface RandomData {
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -105,7 +105,7 @@ import java.util.Collection;
|
||||||
* (so secure sequences started with calls to reseedSecure(long) won't be
|
* (so secure sequences started with calls to reseedSecure(long) won't be
|
||||||
* identical).</li></ul>
|
* identical).</li></ul>
|
||||||
*
|
*
|
||||||
* @version $Revision: 1.9 $ $Date: 2003/11/19 03:28:24 $
|
* @version $Revision: 1.10 $ $Date: 2004/01/29 00:49:01 $
|
||||||
*/
|
*/
|
||||||
public class RandomDataImpl implements RandomData, Serializable {
|
public class RandomDataImpl implements RandomData, Serializable {
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -62,7 +62,7 @@ import org.apache.commons.math.util.ContinuedFraction;
|
||||||
* This is a utility class that provides computation methods related to the
|
* This is a utility class that provides computation methods related to the
|
||||||
* Beta family of functions.
|
* Beta family of functions.
|
||||||
*
|
*
|
||||||
* @version $Revision: 1.14 $ $Date: 2003/11/19 03:28:25 $
|
* @version $Revision: 1.15 $ $Date: 2004/01/29 00:48:57 $
|
||||||
*/
|
*/
|
||||||
public class Beta implements Serializable {
|
public class Beta implements Serializable {
|
||||||
/** Maximum allowed numerical error. */
|
/** Maximum allowed numerical error. */
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -62,7 +62,7 @@ import org.apache.commons.math.MathException;
|
||||||
* This is a utility class that provides computation methods related to the
|
* This is a utility class that provides computation methods related to the
|
||||||
* Gamma family of functions.
|
* Gamma family of functions.
|
||||||
*
|
*
|
||||||
* @version $Revision: 1.15 $ $Date: 2003/11/19 03:28:25 $
|
* @version $Revision: 1.16 $ $Date: 2004/01/29 00:48:57 $
|
||||||
*/
|
*/
|
||||||
public class Gamma implements Serializable{
|
public class Gamma implements Serializable{
|
||||||
/** Maximum allowed numerical error. */
|
/** Maximum allowed numerical error. */
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -87,7 +87,7 @@ import org.apache.commons.math.distribution.TDistribution;
|
||||||
* the necessary computations to return the requested statistic.</li>
|
* the necessary computations to return the requested statistic.</li>
|
||||||
* </ul>
|
* </ul>
|
||||||
*
|
*
|
||||||
* @version $Revision: 1.11 $ $Date: 2003/11/19 03:22:54 $
|
* @version $Revision: 1.12 $ $Date: 2004/01/29 00:49:01 $
|
||||||
*/
|
*/
|
||||||
public class BivariateRegression implements Serializable {
|
public class BivariateRegression implements Serializable {
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -64,7 +64,7 @@ import org.apache.commons.collections.HashBag;
|
||||||
* Accepts int, long or string values, converting
|
* Accepts int, long or string values, converting
|
||||||
* all to Strings and maintaining frequency counts.
|
* all to Strings and maintaining frequency counts.
|
||||||
*
|
*
|
||||||
* @version $Revision: 1.10 $ $Date: 2003/11/19 03:28:23 $
|
* @version $Revision: 1.11 $ $Date: 2004/01/29 00:49:01 $
|
||||||
*/
|
*/
|
||||||
public class Frequency implements Serializable{
|
public class Frequency implements Serializable{
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -68,7 +68,7 @@ import org.apache.commons.math.stat.univariate.summary.SumOfSquares;
|
||||||
* StatUtils provides easy static implementations of common double[] based
|
* StatUtils provides easy static implementations of common double[] based
|
||||||
* statistical methods. These return a single result value or in some cases, as
|
* statistical methods. These return a single result value or in some cases, as
|
||||||
* identified in the javadoc for each method, Double.NaN.
|
* identified in the javadoc for each method, Double.NaN.
|
||||||
* @version $Revision: 1.22 $ $Date: 2003/11/15 18:52:31 $
|
* @version $Revision: 1.23 $ $Date: 2004/01/29 00:49:00 $
|
||||||
*/
|
*/
|
||||||
public final class StatUtils {
|
public final class StatUtils {
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -58,7 +58,7 @@ package org.apache.commons.math.stat.univariate;
|
||||||
* double[] based content using an implemented statistical approach.
|
* double[] based content using an implemented statistical approach.
|
||||||
* The interface provides two "stateless" simple methods to calculate
|
* The interface provides two "stateless" simple methods to calculate
|
||||||
* a statistic from a double[] based parameter.
|
* a statistic from a double[] based parameter.
|
||||||
* @version $Revision: 1.10 $ $Date: 2003/11/14 22:22:21 $
|
* @version $Revision: 1.11 $ $Date: 2004/01/29 00:49:03 $
|
||||||
*/
|
*/
|
||||||
public interface UnivariateStatistic {
|
public interface UnivariateStatistic {
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -60,7 +60,7 @@ import java.io.Serializable;
|
||||||
* <a href="http://www.spss.com/tech/stat/Algorithms/11.5/descriptives.pdf">
|
* <a href="http://www.spss.com/tech/stat/Algorithms/11.5/descriptives.pdf">
|
||||||
* recursive strategy
|
* recursive strategy
|
||||||
* </a>. Both incremental and evaluation strategies currently use this approach.
|
* </a>. Both incremental and evaluation strategies currently use this approach.
|
||||||
* @version $Revision: 1.13 $ $Date: 2003/11/19 03:28:24 $
|
* @version $Revision: 1.14 $ $Date: 2004/01/29 00:49:01 $
|
||||||
*/
|
*/
|
||||||
public class FourthMoment extends ThirdMoment implements Serializable{
|
public class FourthMoment extends ThirdMoment implements Serializable{
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -67,7 +67,7 @@ import org.apache.commons.math.stat.univariate.summary.Sum;
|
||||||
/**
|
/**
|
||||||
* Returns the <a href="http://www.xycoon.com/arithmetic_mean.htm">
|
* Returns the <a href="http://www.xycoon.com/arithmetic_mean.htm">
|
||||||
* arithmetic mean </a> of the available values.
|
* arithmetic mean </a> of the available values.
|
||||||
* @version $Revision: 1.13 $ $Date: 2003/11/19 03:28:24 $
|
* @version $Revision: 1.14 $ $Date: 2004/01/29 00:49:01 $
|
||||||
*/
|
*/
|
||||||
public class Mean extends AbstractStorelessUnivariateStatistic implements Serializable{
|
public class Mean extends AbstractStorelessUnivariateStatistic implements Serializable{
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -60,7 +60,7 @@ import java.io.Serializable;
|
||||||
* <a href="http://www.spss.com/tech/stat/Algorithms/11.5/descriptives.pdf">
|
* <a href="http://www.spss.com/tech/stat/Algorithms/11.5/descriptives.pdf">
|
||||||
* recursive strategy
|
* recursive strategy
|
||||||
* </a>. Both incremental and evaluation strategies currently use this approach.
|
* </a>. Both incremental and evaluation strategies currently use this approach.
|
||||||
* @version $Revision: 1.12 $ $Date: 2003/11/19 03:28:24 $
|
* @version $Revision: 1.13 $ $Date: 2004/01/29 00:49:01 $
|
||||||
*/
|
*/
|
||||||
public class SecondMoment extends FirstMoment implements Serializable {
|
public class SecondMoment extends FirstMoment implements Serializable {
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -57,7 +57,7 @@ import java.io.Serializable;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @version $Revision: 1.12 $ $Date: 2003/11/19 03:28:24 $
|
* @version $Revision: 1.13 $ $Date: 2004/01/29 00:49:01 $
|
||||||
*/
|
*/
|
||||||
public class StandardDeviation extends Variance implements Serializable {
|
public class StandardDeviation extends Variance implements Serializable {
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -60,7 +60,7 @@ import java.io.Serializable;
|
||||||
* <a href="http://www.spss.com/tech/stat/Algorithms/11.5/descriptives.pdf">
|
* <a href="http://www.spss.com/tech/stat/Algorithms/11.5/descriptives.pdf">
|
||||||
* recursive strategy
|
* recursive strategy
|
||||||
* </a>. Both incremental and evaluation strategies currently use this approach.
|
* </a>. Both incremental and evaluation strategies currently use this approach.
|
||||||
* @version $Revision: 1.12 $ $Date: 2003/11/19 03:28:24 $
|
* @version $Revision: 1.13 $ $Date: 2004/01/29 00:49:01 $
|
||||||
*/
|
*/
|
||||||
public class ThirdMoment extends SecondMoment implements Serializable {
|
public class ThirdMoment extends SecondMoment implements Serializable {
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -63,7 +63,7 @@ import org.apache.commons.math.stat.univariate.AbstractStorelessUnivariateStatis
|
||||||
* J. G. Lewis 1979, <i>Communications of the ACM</i>,
|
* J. G. Lewis 1979, <i>Communications of the ACM</i>,
|
||||||
* vol. 22 no. 9, pp. 526-531.</a>.
|
* vol. 22 no. 9, pp. 526-531.</a>.
|
||||||
*
|
*
|
||||||
* @version $Revision: 1.15 $ $Date: 2004/01/25 21:30:41 $
|
* @version $Revision: 1.16 $ $Date: 2004/01/29 00:49:01 $
|
||||||
*/
|
*/
|
||||||
public class Variance extends AbstractStorelessUnivariateStatistic implements Serializable {
|
public class Variance extends AbstractStorelessUnivariateStatistic implements Serializable {
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -57,7 +57,7 @@ import java.io.Serializable;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @version $Revision: 1.9 $ $Date: 2003/11/19 03:28:24 $
|
* @version $Revision: 1.10 $ $Date: 2004/01/29 00:49:01 $
|
||||||
*/
|
*/
|
||||||
public class Median extends Percentile implements Serializable {
|
public class Median extends Percentile implements Serializable {
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -58,7 +58,7 @@ import java.util.Arrays;
|
||||||
import org.apache.commons.math.stat.univariate.AbstractUnivariateStatistic;
|
import org.apache.commons.math.stat.univariate.AbstractUnivariateStatistic;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @version $Revision: 1.11 $ $Date: 2003/11/19 03:28:24 $
|
* @version $Revision: 1.12 $ $Date: 2004/01/29 00:49:01 $
|
||||||
*/
|
*/
|
||||||
public class Percentile extends AbstractUnivariateStatistic implements Serializable {
|
public class Percentile extends AbstractUnivariateStatistic implements Serializable {
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -64,7 +64,7 @@ import org
|
||||||
.AbstractStorelessUnivariateStatistic;
|
.AbstractStorelessUnivariateStatistic;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @version $Revision: 1.12 $ $Date: 2003/11/19 03:28:24 $
|
* @version $Revision: 1.13 $ $Date: 2004/01/29 00:48:57 $
|
||||||
*/
|
*/
|
||||||
public class Product extends AbstractStorelessUnivariateStatistic implements Serializable {
|
public class Product extends AbstractStorelessUnivariateStatistic implements Serializable {
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -58,7 +58,7 @@ import java.io.Serializable;
|
||||||
import org.apache.commons.math.stat.univariate.AbstractStorelessUnivariateStatistic;
|
import org.apache.commons.math.stat.univariate.AbstractStorelessUnivariateStatistic;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @version $Revision: 1.14 $ $Date: 2003/11/19 03:28:24 $
|
* @version $Revision: 1.15 $ $Date: 2004/01/29 00:48:57 $
|
||||||
*/
|
*/
|
||||||
public class Sum extends AbstractStorelessUnivariateStatistic implements Serializable {
|
public class Sum extends AbstractStorelessUnivariateStatistic implements Serializable {
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -64,7 +64,7 @@ import org
|
||||||
.AbstractStorelessUnivariateStatistic;
|
.AbstractStorelessUnivariateStatistic;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @version $Revision: 1.12 $ $Date: 2003/11/19 03:28:24 $
|
* @version $Revision: 1.13 $ $Date: 2004/01/29 00:48:57 $
|
||||||
*/
|
*/
|
||||||
public class SumOfLogs extends AbstractStorelessUnivariateStatistic implements Serializable {
|
public class SumOfLogs extends AbstractStorelessUnivariateStatistic implements Serializable {
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -64,7 +64,7 @@ import org
|
||||||
.AbstractStorelessUnivariateStatistic;
|
.AbstractStorelessUnivariateStatistic;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @version $Revision: 1.12 $ $Date: 2003/11/19 03:28:24 $
|
* @version $Revision: 1.13 $ $Date: 2004/01/29 00:48:57 $
|
||||||
*/
|
*/
|
||||||
public class SumOfSquares extends AbstractStorelessUnivariateStatistic implements Serializable {
|
public class SumOfSquares extends AbstractStorelessUnivariateStatistic implements Serializable {
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -67,7 +67,7 @@ import org.apache.commons.math.MathException;
|
||||||
* <li><a href="http://mathworld.wolfram.com/ContinuedFraction.html">
|
* <li><a href="http://mathworld.wolfram.com/ContinuedFraction.html">
|
||||||
* Continued Fraction</a></li>
|
* Continued Fraction</a></li>
|
||||||
* </ul>
|
* </ul>
|
||||||
* @version $Revision: 1.9 $ $Date: 2003/11/19 03:28:24 $
|
* @version $Revision: 1.10 $ $Date: 2004/01/29 00:48:58 $
|
||||||
*/
|
*/
|
||||||
public abstract class ContinuedFraction implements Serializable {
|
public abstract class ContinuedFraction implements Serializable {
|
||||||
/** Maximum allowed numerical error. */
|
/** Maximum allowed numerical error. */
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -88,7 +88,7 @@ import java.io.Serializable;
|
||||||
* internal storage array is swapped.
|
* internal storage array is swapped.
|
||||||
* </p>
|
* </p>
|
||||||
*
|
*
|
||||||
* @version $Revision: 1.10 $ $Date: 2003/11/19 03:28:24 $
|
* @version $Revision: 1.11 $ $Date: 2004/01/29 00:48:58 $
|
||||||
*/
|
*/
|
||||||
public class ContractableDoubleArray extends ExpandableDoubleArray implements Serializable {
|
public class ContractableDoubleArray extends ExpandableDoubleArray implements Serializable {
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -64,7 +64,7 @@ import org.apache.commons.math.MathException;
|
||||||
* into a primitive double or to turn a String representation of a Number into
|
* into a primitive double or to turn a String representation of a Number into
|
||||||
* a double.
|
* a double.
|
||||||
*
|
*
|
||||||
* @version $Revision: 1.10 $ $Date: 2003/11/19 03:28:24 $
|
* @version $Revision: 1.11 $ $Date: 2004/01/29 00:48:58 $
|
||||||
*/
|
*/
|
||||||
public class DefaultTransformer implements NumberTransformer, Serializable {
|
public class DefaultTransformer implements NumberTransformer, Serializable {
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -60,7 +60,7 @@ package org.apache.commons.math.util;
|
||||||
* Collections API by allowing a user to select from a number of
|
* Collections API by allowing a user to select from a number of
|
||||||
* array implementations with support for various storage mechanisms
|
* array implementations with support for various storage mechanisms
|
||||||
* such as automatic expansion, contraction, and array "rolling".
|
* such as automatic expansion, contraction, and array "rolling".
|
||||||
* @version $Revision: 1.7 $ $Date: 2003/11/14 22:22:17 $
|
* @version $Revision: 1.8 $ $Date: 2004/01/29 00:48:58 $
|
||||||
*/
|
*/
|
||||||
public interface DoubleArray {
|
public interface DoubleArray {
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -88,7 +88,7 @@ import java.io.Serializable;
|
||||||
* expand the array 10 times - first from 2 -> 4. then 4 -> 8, 8 -> 16,
|
* expand the array 10 times - first from 2 -> 4. then 4 -> 8, 8 -> 16,
|
||||||
* and so on until we reach 4096 which is sufficient to hold 3546 elements.
|
* and so on until we reach 4096 which is sufficient to hold 3546 elements.
|
||||||
* </p>
|
* </p>
|
||||||
* @version $Revision: 1.11 $ $Date: 2003/11/19 03:28:24 $
|
* @version $Revision: 1.12 $ $Date: 2004/01/29 00:48:58 $
|
||||||
*/
|
*/
|
||||||
public class ExpandableDoubleArray implements Serializable, DoubleArray {
|
public class ExpandableDoubleArray implements Serializable, DoubleArray {
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -84,7 +84,7 @@ import java.io.Serializable;
|
||||||
* "fixed" in memory, this implementation will never allocate, or copy
|
* "fixed" in memory, this implementation will never allocate, or copy
|
||||||
* the internal storage array to a new array instance.
|
* the internal storage array to a new array instance.
|
||||||
* </p>
|
* </p>
|
||||||
* @version $Revision: 1.12 $ $Date: 2003/11/19 03:28:24 $
|
* @version $Revision: 1.13 $ $Date: 2004/01/29 00:48:58 $
|
||||||
*/
|
*/
|
||||||
public class FixedDoubleArray implements DoubleArray, Serializable {
|
public class FixedDoubleArray implements DoubleArray, Serializable {
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -57,7 +57,7 @@ package org.apache.commons.math.util;
|
||||||
/**
|
/**
|
||||||
* Some useful additions to the built-in functions in {@link Math}.
|
* Some useful additions to the built-in functions in {@link Math}.
|
||||||
*
|
*
|
||||||
* @version $Revision: 1.10 $ $Date: 2004/01/26 19:41:16 $
|
* @version $Revision: 1.11 $ $Date: 2004/01/29 00:48:58 $
|
||||||
*/
|
*/
|
||||||
public final class MathUtils {
|
public final class MathUtils {
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -57,7 +57,7 @@ import org.apache.commons.math.MathException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Subclasses implementing this interface can transform Objects to doubles.
|
* Subclasses implementing this interface can transform Objects to doubles.
|
||||||
* @version $Revision: 1.8 $ $Date: 2003/11/14 22:22:17 $
|
* @version $Revision: 1.9 $ $Date: 2004/01/29 00:48:58 $
|
||||||
*/
|
*/
|
||||||
public interface NumberTransformer {
|
public interface NumberTransformer {
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -66,7 +66,7 @@ import org.apache.commons.math.MathException;
|
||||||
* It provides a means to set NumberTransformers that will be selected
|
* It provides a means to set NumberTransformers that will be selected
|
||||||
* based on the Class of the object handed to the Maps
|
* based on the Class of the object handed to the Maps
|
||||||
* <code>double transform(Object o)</code> method.
|
* <code>double transform(Object o)</code> method.
|
||||||
* @version $Revision: 1.9 $ $Date: 2003/11/19 03:28:24 $
|
* @version $Revision: 1.10 $ $Date: 2004/01/29 00:48:58 $
|
||||||
*/
|
*/
|
||||||
public class TransformerMap implements NumberTransformer, Serializable {
|
public class TransformerMap implements NumberTransformer, Serializable {
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -57,7 +57,7 @@ package org.apache.commons.math;
|
||||||
import junit.framework.TestCase;
|
import junit.framework.TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @version $Revision: 1.5 $ $Date: 2003/11/14 22:22:23 $
|
* @version $Revision: 1.6 $ $Date: 2004/01/29 00:49:02 $
|
||||||
*/
|
*/
|
||||||
public class MathConfigurationExceptionTest extends TestCase {
|
public class MathConfigurationExceptionTest extends TestCase {
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -57,7 +57,7 @@ package org.apache.commons.math;
|
||||||
import junit.framework.TestCase;
|
import junit.framework.TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @version $Revision: 1.5 $ $Date: 2003/11/14 22:22:23 $
|
* @version $Revision: 1.6 $ $Date: 2004/01/29 00:49:02 $
|
||||||
*/
|
*/
|
||||||
public class MathExceptionTest extends TestCase {
|
public class MathExceptionTest extends TestCase {
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -66,7 +66,7 @@ import org.apache.commons.math.complex.Complex;
|
||||||
import junit.framework.Assert;
|
import junit.framework.Assert;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @version $Revision: 1.8 $ $Date: 2003/11/19 13:26:42 $
|
* @version $Revision: 1.9 $ $Date: 2004/01/29 00:49:02 $
|
||||||
*/
|
*/
|
||||||
public class TestUtils {
|
public class TestUtils {
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -58,7 +58,7 @@ import org.apache.commons.math.MathException;
|
||||||
import junit.framework.TestCase;
|
import junit.framework.TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @version $Revision: 1.7 $ $Date: 2003/11/14 22:22:17 $
|
* @version $Revision: 1.8 $ $Date: 2004/01/29 00:48:57 $
|
||||||
*/
|
*/
|
||||||
public final class BisectionSolverTest extends TestCase {
|
public final class BisectionSolverTest extends TestCase {
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -59,7 +59,7 @@ import org.apache.commons.math.ConvergenceException;
|
||||||
import junit.framework.TestCase;
|
import junit.framework.TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @version $Revision: 1.5 $ $Date: 2003/11/14 22:22:17 $
|
* @version $Revision: 1.6 $ $Date: 2004/01/29 00:48:57 $
|
||||||
*/
|
*/
|
||||||
public class ConvergenceExceptionTest extends TestCase {
|
public class ConvergenceExceptionTest extends TestCase {
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -62,7 +62,7 @@ import junit.framework.TestSuite;
|
||||||
/**
|
/**
|
||||||
* Test the interpolation framework.
|
* Test the interpolation framework.
|
||||||
*
|
*
|
||||||
* @version $Revision: 1.8 $ $Date: 2003/11/15 19:04:28 $
|
* @version $Revision: 1.9 $ $Date: 2004/01/29 00:48:57 $
|
||||||
*/
|
*/
|
||||||
public class InterpolatorTest extends TestCase {
|
public class InterpolatorTest extends TestCase {
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -62,7 +62,7 @@ import junit.framework.TestCase;
|
||||||
/**
|
/**
|
||||||
* Tests the PolynomialFunction implementation of a UnivariateRealFunction.
|
* Tests the PolynomialFunction implementation of a UnivariateRealFunction.
|
||||||
*
|
*
|
||||||
* @version $Revision: 1.1 $
|
* @version $Revision: 1.2 $
|
||||||
* @author Matt Cliff <matt@mattcliff.com>
|
* @author Matt Cliff <matt@mattcliff.com>
|
||||||
*/
|
*/
|
||||||
public final class PolynomialFunctionTest extends TestCase {
|
public final class PolynomialFunctionTest extends TestCase {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -58,7 +58,7 @@ import org.apache.commons.math.MathException;
|
||||||
/**
|
/**
|
||||||
* Auxillary class for testing solvers.
|
* Auxillary class for testing solvers.
|
||||||
*
|
*
|
||||||
* @version $Revision: 1.9 $ $Date: 2003/11/15 18:44:52 $
|
* @version $Revision: 1.10 $ $Date: 2004/01/29 00:48:57 $
|
||||||
*/
|
*/
|
||||||
public class QuinticFunction implements UnivariateRealFunction {
|
public class QuinticFunction implements UnivariateRealFunction {
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -69,7 +69,7 @@ import junit.framework.TestSuite;
|
||||||
* default absolute accuracy of 10E-8 for sinus and the quintic function around
|
* default absolute accuracy of 10E-8 for sinus and the quintic function around
|
||||||
* zero, and 5..10 iterations for the other zeros.
|
* zero, and 5..10 iterations for the other zeros.
|
||||||
*
|
*
|
||||||
* @version $Revision: 1.8 $ $Date: 2003/11/14 22:22:16 $
|
* @version $Revision: 1.9 $ $Date: 2004/01/29 00:48:57 $
|
||||||
*/
|
*/
|
||||||
public final class RealSolverTest extends TestCase {
|
public final class RealSolverTest extends TestCase {
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -63,7 +63,7 @@ import org.apache.commons.math.MathException;
|
||||||
* which means linear approximation (Regula Falsi) will converge
|
* which means linear approximation (Regula Falsi) will converge
|
||||||
* quadratically.
|
* quadratically.
|
||||||
*
|
*
|
||||||
* @version $Revision: 1.9 $ $Date: 2003/11/15 18:44:52 $
|
* @version $Revision: 1.10 $ $Date: 2004/01/29 00:48:57 $
|
||||||
*/
|
*/
|
||||||
public class SinFunction implements UnivariateRealFunction {
|
public class SinFunction implements UnivariateRealFunction {
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -59,7 +59,7 @@ import org.apache.commons.math.MathException;
|
||||||
import junit.framework.TestCase;
|
import junit.framework.TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @version $Revision: 1.5 $ $Date: 2003/11/14 22:22:17 $
|
* @version $Revision: 1.6 $ $Date: 2004/01/29 00:48:57 $
|
||||||
*/
|
*/
|
||||||
public class UnivariateRealSolverUtilsTest extends TestCase {
|
public class UnivariateRealSolverUtilsTest extends TestCase {
|
||||||
/**
|
/**
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue