Java Doc for RealMatrixImplTest.java in  » Science » Apache-commons-math-1.1 » org » apache » commons » math » linear » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Science » Apache commons math 1.1 » org.apache.commons.math.linear 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.commons.math.linear.RealMatrixImplTest

RealMatrixImplTest
final public class RealMatrixImplTest extends TestCase (Code)
Test cases for the RealMatrixImpl class.
version:
   $Revision: 240244 $ $Date: 2005-08-26 06:40:32 -0700 (Fri, 26 Aug 2005) $


Field Summary
protected  double[][]bigSingular
    
protected  double[][]detData
    
protected  double[][]detData2
    
protected  doubleentryTolerance
    
protected  double[][]id
    
protected  double[][]luData
    
protected  double[][]luDataLUDecomposition
    
protected  doublenormTolerance
    
protected  double[]preMultTest
    
protected  double[][]singular
    
protected  double[][]subColumn1
    
protected  double[][]subColumn3
    
protected  double[][]subRow0
    
protected  double[][]subRow3
    
protected  double[][]subRows00Cols33
    
protected  double[][]subRows01Cols23
    
protected  double[][]subRows02Cols13
    
protected  double[][]subRows03Cols12
    
protected  double[][]subRows03Cols123
    
protected  double[][]subRows20Cols123
    
protected  double[][]subRows23Cols00
    
protected  double[][]subRows31Cols31
    
protected  double[][]subTestData
    
protected  double[][]testData
    
protected  double[][]testData2
    
protected  double[][]testData2T
    
protected  double[]testDataCol3
    
protected  double[][]testDataInv
    
protected  double[][]testDataLU
    
protected  double[][]testDataMinus
    
protected  double[][]testDataPlus2
    
protected  double[][]testDataPlusInv
    
protected  double[]testDataRow1
    
protected  double[]testVector
    
protected  double[]testVector2
    

Constructor Summary
public  RealMatrixImplTest(String name)
    

Method Summary
protected  voidassertClose(String msg, RealMatrix m, RealMatrix n, double tolerance)
    
protected  voidassertClose(String msg, double[] m, double[] n, double tolerance)
    
protected  RealMatrixpermuteRows(RealMatrix matrix, int[] permutation)
    
public  voidsetUp()
    
protected  voidsplitLU(RealMatrix lu, double[][] lowerData, double[][] upperData)
    
public static  Testsuite()
    
public  voidtestAdd()
    
public  voidtestAddFail()
    
public  voidtestCopyFunctions()
    
public  voidtestDeterminant()
    
public  voidtestDimensions()
    
public  voidtestEqualsAndHashCode()
    
public  voidtestExamples()
    
public  voidtestGetColumnMatrix()
    
public  voidtestGetEntry()
    
public  voidtestGetRowMatrix()
    
public  voidtestGetVectors()
    
public  voidtestInverse()
    
public  voidtestIsSingular()
    
public  voidtestLUDecomposition()
    
public  voidtestMultiply()
    
public  voidtestMultiply2()
    
public  voidtestNorm()
    
public  voidtestOperate()
    
public  voidtestPlusMinus()
    
public  voidtestPremultiply()
    
public  voidtestPremultiplyVector()
    
public  voidtestScalarAdd()
    
public  voidtestSetSubMatrix()
    
public  voidtestSolve()
    
public  voidtestSubMatrix()
    
public  voidtestToString()
    
public  voidtestTrace()
    
public  voidtestTranspose()
    
protected  voidverifyDecomposition(RealMatrix matrix, RealMatrix lu)
    

Field Detail
bigSingular
protected double[][] bigSingular(Code)



detData
protected double[][] detData(Code)



detData2
protected double[][] detData2(Code)



entryTolerance
protected double entryTolerance(Code)



id
protected double[][] id(Code)



luData
protected double[][] luData(Code)



luDataLUDecomposition
protected double[][] luDataLUDecomposition(Code)



normTolerance
protected double normTolerance(Code)



preMultTest
protected double[] preMultTest(Code)



singular
protected double[][] singular(Code)



subColumn1
protected double[][] subColumn1(Code)



subColumn3
protected double[][] subColumn3(Code)



subRow0
protected double[][] subRow0(Code)



subRow3
protected double[][] subRow3(Code)



subRows00Cols33
protected double[][] subRows00Cols33(Code)



subRows01Cols23
protected double[][] subRows01Cols23(Code)



subRows02Cols13
protected double[][] subRows02Cols13(Code)



subRows03Cols12
protected double[][] subRows03Cols12(Code)



subRows03Cols123
protected double[][] subRows03Cols123(Code)



subRows20Cols123
protected double[][] subRows20Cols123(Code)



subRows23Cols00
protected double[][] subRows23Cols00(Code)



subRows31Cols31
protected double[][] subRows31Cols31(Code)



subTestData
protected double[][] subTestData(Code)



testData
protected double[][] testData(Code)



testData2
protected double[][] testData2(Code)



testData2T
protected double[][] testData2T(Code)



testDataCol3
protected double[] testDataCol3(Code)



testDataInv
protected double[][] testDataInv(Code)



testDataLU
protected double[][] testDataLU(Code)



testDataMinus
protected double[][] testDataMinus(Code)



testDataPlus2
protected double[][] testDataPlus2(Code)



testDataPlusInv
protected double[][] testDataPlusInv(Code)



testDataRow1
protected double[] testDataRow1(Code)



testVector
protected double[] testVector(Code)



testVector2
protected double[] testVector2(Code)




Constructor Detail
RealMatrixImplTest
public RealMatrixImplTest(String name)(Code)




Method Detail
assertClose
protected void assertClose(String msg, RealMatrix m, RealMatrix n, double tolerance)(Code)
verifies that two matrices are close (1-norm)



assertClose
protected void assertClose(String msg, double[] m, double[] n, double tolerance)(Code)
verifies that two vectors are close (sup norm)



permuteRows
protected RealMatrix permuteRows(RealMatrix matrix, int[] permutation)(Code)
Returns the result of applying the given row permutation to the matrix



setUp
public void setUp()(Code)



splitLU
protected void splitLU(RealMatrix lu, double[][] lowerData, double[][] upperData) throws InvalidMatrixException(Code)
extracts the l and u matrices from compact lu representation



suite
public static Test suite()(Code)



testAdd
public void testAdd()(Code)
test add



testAddFail
public void testAddFail()(Code)
test add failure



testCopyFunctions
public void testCopyFunctions()(Code)
test copy functions



testDeterminant
public void testDeterminant()(Code)
test determinant



testDimensions
public void testDimensions()(Code)
test dimensions



testEqualsAndHashCode
public void testEqualsAndHashCode()(Code)



testExamples
public void testExamples()(Code)
test examples in user guide



testGetColumnMatrix
public void testGetColumnMatrix()(Code)



testGetEntry
public void testGetEntry()(Code)



testGetRowMatrix
public void testGetRowMatrix()(Code)



testGetVectors
public void testGetVectors()(Code)



testInverse
public void testInverse()(Code)
test inverse



testIsSingular
public void testIsSingular()(Code)
test isSingular



testLUDecomposition
public void testLUDecomposition() throws Exception(Code)



testMultiply
public void testMultiply()(Code)
test multiply



testMultiply2
public void testMultiply2()(Code)



testNorm
public void testNorm()(Code)
test norm



testOperate
public void testOperate()(Code)
test operate



testPlusMinus
public void testPlusMinus()(Code)
test m-n = m + -n



testPremultiply
public void testPremultiply()(Code)



testPremultiplyVector
public void testPremultiplyVector()(Code)
test preMultiply by vector



testScalarAdd
public void testScalarAdd()(Code)
test sclarAdd



testSetSubMatrix
public void testSetSubMatrix() throws Exception(Code)



testSolve
public void testSolve()(Code)
test solve



testSubMatrix
public void testSubMatrix()(Code)



testToString
public void testToString()(Code)



testTrace
public void testTrace()(Code)
test trace



testTranspose
public void testTranspose()(Code)
test transpose



verifyDecomposition
protected void verifyDecomposition(RealMatrix matrix, RealMatrix lu) throws Exception(Code)
Extracts l and u matrices from lu and verifies that matrix = l times u modulo permutation



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.