org.apache.commons.math3.linear
Class ConjugateGradientTest

java.lang.Object
  extended by org.apache.commons.math3.linear.ConjugateGradientTest

public class ConjugateGradientTest
extends Object


Constructor Summary
ConjugateGradientTest()
           
 
Method Summary
 void testDimensionMismatchRightHandSide()
           
 void testDimensionMismatchSolution()
           
 void testEventManagement()
           
 void testMismatchedOperatorDimensions()
           
 void testNonPositiveDefiniteLinearOperator()
           
 void testNonPositiveDefinitePreconditioner()
           
 void testNonSquareOperator()
           
 void testNonSquarePreconditioner()
           
 void testPreconditionedNormOfResidual()
           
 void testPreconditionedResidual()
           
 void testPreconditionedSolution()
           
 void testPreconditionedSolution2()
           
 void testUnpreconditionedInPlaceSolutionWithInitialGuess()
           
 void testUnpreconditionedNormOfResidual()
           
 void testUnpreconditionedResidual()
          Check whether the estimate of the (updated) residual corresponds to the exact residual.
 void testUnpreconditionedSolution()
           
 void testUnpreconditionedSolutionWithInitialGuess()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConjugateGradientTest

public ConjugateGradientTest()
Method Detail

testNonSquareOperator

public void testNonSquareOperator()

testDimensionMismatchRightHandSide

public void testDimensionMismatchRightHandSide()

testDimensionMismatchSolution

public void testDimensionMismatchSolution()

testNonPositiveDefiniteLinearOperator

public void testNonPositiveDefiniteLinearOperator()

testUnpreconditionedSolution

public void testUnpreconditionedSolution()

testUnpreconditionedInPlaceSolutionWithInitialGuess

public void testUnpreconditionedInPlaceSolutionWithInitialGuess()

testUnpreconditionedSolutionWithInitialGuess

public void testUnpreconditionedSolutionWithInitialGuess()

testUnpreconditionedResidual

public void testUnpreconditionedResidual()
Check whether the estimate of the (updated) residual corresponds to the exact residual. This fails to be true for a large number of iterations, due to the loss of orthogonality of the successive search directions. Therefore, in the present test, the number of iterations is limited.


testNonSquarePreconditioner

public void testNonSquarePreconditioner()

testMismatchedOperatorDimensions

public void testMismatchedOperatorDimensions()

testNonPositiveDefinitePreconditioner

public void testNonPositiveDefinitePreconditioner()

testPreconditionedSolution

public void testPreconditionedSolution()

testPreconditionedResidual

public void testPreconditionedResidual()

testPreconditionedSolution2

public void testPreconditionedSolution2()

testEventManagement

public void testEventManagement()

testUnpreconditionedNormOfResidual

public void testUnpreconditionedNormOfResidual()

testPreconditionedNormOfResidual

public void testPreconditionedNormOfResidual()


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