org.apache.commons.math.linear
Class SingularValueDecompositionImplTest

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

public class SingularValueDecompositionImplTest
extends junit.framework.TestCase


Constructor Summary
SingularValueDecompositionImplTest(String name)
           
 
Method Summary
 void checkAEqualUSVt(org.apache.commons.math.linear.RealMatrix matrix)
           
 void checkOrthogonal(org.apache.commons.math.linear.RealMatrix m)
           
static junit.framework.Test suite()
           
 void testAEqualUSVt()
          test A = USVt
 void testConditionNumber()
          test condition number
 void testDimensions()
          test dimensions
 void testHadamard()
          Test based on a dimension 4 Hadamard matrix.
 void testMatricesValues1()
          test matrices values
 void testMatricesValues2()
          test matrices values
 void testMoreColumns()
           
 void testMoreRows()
           
 void testUOrthogonal()
          test that U is orthogonal
 void testVOrthogonal()
          test that V is orthogonal
 
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, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SingularValueDecompositionImplTest

public SingularValueDecompositionImplTest(String name)
Method Detail

suite

public static junit.framework.Test suite()

testMoreRows

public void testMoreRows()

testMoreColumns

public void testMoreColumns()

testDimensions

public void testDimensions()
test dimensions


testHadamard

public void testHadamard()
Test based on a dimension 4 Hadamard matrix.


testAEqualUSVt

public void testAEqualUSVt()
test A = USVt


checkAEqualUSVt

public void checkAEqualUSVt(org.apache.commons.math.linear.RealMatrix matrix)

testUOrthogonal

public void testUOrthogonal()
test that U is orthogonal


testVOrthogonal

public void testVOrthogonal()
test that V is orthogonal


checkOrthogonal

public void checkOrthogonal(org.apache.commons.math.linear.RealMatrix m)

testMatricesValues1

public void testMatricesValues1()
test matrices values


testMatricesValues2

public void testMatricesValues2()
test matrices values


testConditionNumber

public void testConditionNumber()
test condition number



Copyright © 2003-2010 Apache Software Foundation. All Rights Reserved.