org.apache.commons.math.estimation
Class MinpackTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.math.estimation.MinpackTest
All Implemented Interfaces:
junit.framework.Test

public class MinpackTest
extends junit.framework.TestCase

Some of the unit tests are re-implementations of the MINPACK file17 and file22 test files. The redistribution policy for MINPACK is available here, for convenience, it is reproduced below.

Minpack Copyright Notice (1999) University of Chicago. All rights reserved
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. The end-user documentation included with the redistribution, if any, must include the following acknowledgment: This product includes software developed by the University of Chicago, as Operator of Argonne National Laboratory. Alternately, this acknowledgment may appear in the software itself, if and wherever such third-party acknowledgments normally appear.
  4. WARRANTY DISCLAIMER. THE SOFTWARE IS SUPPLIED "AS IS" WITHOUT WARRANTY OF ANY KIND. THE COPYRIGHT HOLDER, THE UNITED STATES, THE UNITED STATES DEPARTMENT OF ENERGY, AND THEIR EMPLOYEES: (1) DISCLAIM ANY WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE OR NON-INFRINGEMENT, (2) DO NOT ASSUME ANY LEGAL LIABILITY OR RESPONSIBILITY FOR THE ACCURACY, COMPLETENESS, OR USEFULNESS OF THE SOFTWARE, (3) DO NOT REPRESENT THAT USE OF THE SOFTWARE WOULD NOT INFRINGE PRIVATELY OWNED RIGHTS, (4) DO NOT WARRANT THAT THE SOFTWARE WILL FUNCTION UNINTERRUPTED, THAT IT IS ERROR-FREE OR THAT ANY ERRORS WILL BE CORRECTED.
  5. LIMITATION OF LIABILITY. IN NO EVENT WILL THE COPYRIGHT HOLDER, THE UNITED STATES, THE UNITED STATES DEPARTMENT OF ENERGY, OR THEIR EMPLOYEES: BE LIABLE FOR ANY INDIRECT, INCIDENTAL, CONSEQUENTIAL, SPECIAL OR PUNITIVE DAMAGES OF ANY KIND OR NATURE, INCLUDING BUT NOT LIMITED TO LOSS OF PROFITS OR LOSS OF DATA, FOR ANY REASON WHATSOEVER, WHETHER SUCH LIABILITY IS ASSERTED ON THE BASIS OF CONTRACT, TORT (INCLUDING NEGLIGENCE OR STRICT LIABILITY), OR OTHERWISE, EVEN IF ANY OF SAID PARTIES HAS BEEN WARNED OF THE POSSIBILITY OF SUCH LOSS OR DAMAGES.

    Author:
    Argonne National Laboratory. MINPACK project. March 1980 (original fortran minpack tests), Burton S. Garbow (original fortran minpack tests), Kenneth E. Hillstrom (original fortran minpack tests), Jorge J. More (original fortran minpack tests), Luc Maisonobe (non-minpack tests and minpack tests Java translation)

    Constructor Summary
    MinpackTest(java.lang.String name)
               
     
    Method Summary
    static junit.framework.Test suite()
               
     void testMinpackBard()
               
     void testMinpackBox3Dimensional()
               
     void testMinpackBrownAlmostLinear()
               
     void testMinpackBrownDennis()
               
     void testMinpackChebyquad()
               
     void testMinpackFreudensteinRoth()
               
     void testMinpackHelicalValley()
               
     void testMinpackJennrichSampson()
               
     void testMinpackKowalikOsborne()
               
     void testMinpackLinearFullRank()
               
     void testMinpackLinearRank1()
               
     void testMinpackLinearRank1ZeroColsAndRows()
               
     void testMinpackMeyer()
               
     void testMinpackOsborne1()
               
     void testMinpackOsborne2()
               
     void testMinpackPowellSingular()
               
     void testMinpackRosenbrok()
               
     void testMinpackWatson()
               
     
    Methods inherited from class junit.framework.TestCase
    countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
     
    Methods inherited from class junit.framework.Assert
    assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame
     
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
     

    Constructor Detail

    MinpackTest

    public MinpackTest(java.lang.String name)
    Method Detail

    testMinpackLinearFullRank

    public void testMinpackLinearFullRank()
                                   throws org.apache.commons.math.estimation.EstimationException
    Throws:
    org.apache.commons.math.estimation.EstimationException

    testMinpackLinearRank1

    public void testMinpackLinearRank1()
                                throws org.apache.commons.math.estimation.EstimationException
    Throws:
    org.apache.commons.math.estimation.EstimationException

    testMinpackLinearRank1ZeroColsAndRows

    public void testMinpackLinearRank1ZeroColsAndRows()
                                               throws org.apache.commons.math.estimation.EstimationException
    Throws:
    org.apache.commons.math.estimation.EstimationException

    testMinpackRosenbrok

    public void testMinpackRosenbrok()
                              throws org.apache.commons.math.estimation.EstimationException
    Throws:
    org.apache.commons.math.estimation.EstimationException

    testMinpackHelicalValley

    public void testMinpackHelicalValley()
                                  throws org.apache.commons.math.estimation.EstimationException
    Throws:
    org.apache.commons.math.estimation.EstimationException

    testMinpackPowellSingular

    public void testMinpackPowellSingular()
                                   throws org.apache.commons.math.estimation.EstimationException
    Throws:
    org.apache.commons.math.estimation.EstimationException

    testMinpackFreudensteinRoth

    public void testMinpackFreudensteinRoth()
                                     throws org.apache.commons.math.estimation.EstimationException
    Throws:
    org.apache.commons.math.estimation.EstimationException

    testMinpackBard

    public void testMinpackBard()
                         throws org.apache.commons.math.estimation.EstimationException
    Throws:
    org.apache.commons.math.estimation.EstimationException

    testMinpackKowalikOsborne

    public void testMinpackKowalikOsborne()
                                   throws org.apache.commons.math.estimation.EstimationException
    Throws:
    org.apache.commons.math.estimation.EstimationException

    testMinpackMeyer

    public void testMinpackMeyer()
                          throws org.apache.commons.math.estimation.EstimationException
    Throws:
    org.apache.commons.math.estimation.EstimationException

    testMinpackWatson

    public void testMinpackWatson()
                           throws org.apache.commons.math.estimation.EstimationException
    Throws:
    org.apache.commons.math.estimation.EstimationException

    testMinpackBox3Dimensional

    public void testMinpackBox3Dimensional()
                                    throws org.apache.commons.math.estimation.EstimationException
    Throws:
    org.apache.commons.math.estimation.EstimationException

    testMinpackJennrichSampson

    public void testMinpackJennrichSampson()
                                    throws org.apache.commons.math.estimation.EstimationException
    Throws:
    org.apache.commons.math.estimation.EstimationException

    testMinpackBrownDennis

    public void testMinpackBrownDennis()
                                throws org.apache.commons.math.estimation.EstimationException
    Throws:
    org.apache.commons.math.estimation.EstimationException

    testMinpackChebyquad

    public void testMinpackChebyquad()
                              throws org.apache.commons.math.estimation.EstimationException
    Throws:
    org.apache.commons.math.estimation.EstimationException

    testMinpackBrownAlmostLinear

    public void testMinpackBrownAlmostLinear()
                                      throws org.apache.commons.math.estimation.EstimationException
    Throws:
    org.apache.commons.math.estimation.EstimationException

    testMinpackOsborne1

    public void testMinpackOsborne1()
                             throws org.apache.commons.math.estimation.EstimationException
    Throws:
    org.apache.commons.math.estimation.EstimationException

    testMinpackOsborne2

    public void testMinpackOsborne2()
                             throws org.apache.commons.math.estimation.EstimationException
    Throws:
    org.apache.commons.math.estimation.EstimationException

    suite

    public static junit.framework.Test suite()


    Copyright © 2003-2008 The Apache Software Foundation. All Rights Reserved.