Java Doc for ComplexTridiagonalMatrix.java in  » Science » JSci » JSci » maths » matrices » 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 » JSci » JSci.maths.matrices 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   JSci.maths.matrices.Matrix
      JSci.maths.matrices.AbstractComplexMatrix
         JSci.maths.matrices.AbstractComplexSquareMatrix
            JSci.maths.matrices.ComplexTridiagonalMatrix

ComplexTridiagonalMatrix
public class ComplexTridiagonalMatrix extends AbstractComplexSquareMatrix implements TridiagonalMatrix(Code)
The ComplexTridiagonalMatrix class provides an object for encapsulating tridiagonal matrices containing complex numbers. Uses compressed diagonal storage.
version:
   2.2
author:
   Mark Hale


Field Summary
final protected  doublediagRediagIm
    
final protected  doubleldiagReldiagIm
     Tridiagonal data.
final protected  doubleudiagReudiagIm
    

Constructor Summary
public  ComplexTridiagonalMatrix(int size)
     Constructs an empty matrix.
public  ComplexTridiagonalMatrix(Complex array)
     Constructs a matrix from an array.

Method Summary
public  AbstractComplexSquareMatrixadd(AbstractComplexSquareMatrix m)
     Returns the addition of this matrix and another.
public  ComplexSquareMatrixadd(ComplexSquareMatrix m)
    
public  ComplexTridiagonalMatrixadd(ComplexTridiagonalMatrix m)
    
public  AbstractComplexMatrixconjugate()
     Returns the complex conjugate of this matrix.
public  booleanequals(AbstractComplexMatrix m, double tol)
     Compares two complex matrices for equality.
public  doublefrobeniusNorm()
     Returns the Frobenius (l2) norm.
public  ComplexgetElement(int i, int j)
     Returns an element of the matrix.
public  doublegetImagElement(int i, int j)
    
public  doublegetRealElement(int i, int j)
    
public  AbstractComplexMatrixhermitianAdjoint()
     Returns the hermitian adjoint of this matrix.
public  AbstractDoubleMatriximag()
     Returns the imaginary part of this complex matrix.
public  doubleinfNorm()
     Returns the linfinity-norm.
public  AbstractComplexMatrixmapElements(ComplexMapping f)
     Applies a function on all the matrix elements.
public  AbstractComplexVectormultiply(AbstractComplexVector v)
     Returns the multiplication of a vector by this matrix.
public  AbstractComplexSquareMatrixmultiply(AbstractComplexSquareMatrix m)
     Returns the multiplication of this matrix and another.
public  ComplexSquareMatrixmultiply(ComplexSquareMatrix m)
    
public  ComplexSquareMatrixmultiply(ComplexTridiagonalMatrix m)
     Returns the multiplication of this matrix and another.
public  doubleoperatorNorm()
     Returns the operator norm.
public  AbstractDoubleMatrixreal()
     Returns the real part of this complex matrix.
public  AbstractComplexMatrixscalarMultiply(Complex z)
     Returns the multiplication of this matrix by a scalar.
public  AbstractComplexMatrixscalarMultiply(double x)
     Returns the multiplication of this matrix by a scalar.
public  voidsetElement(int i, int j, Complex z)
     Sets the value of an element of the matrix.
public  voidsetElement(int i, int j, double x, double y)
     Sets the value of an element of the matrix.
public  AbstractComplexSquareMatrixsubtract(AbstractComplexSquareMatrix m)
     Returns the subtraction of this matrix and another.
public  ComplexSquareMatrixsubtract(ComplexSquareMatrix m)
    
public  ComplexTridiagonalMatrixsubtract(ComplexTridiagonalMatrix m)
     Returns the subtraction of this matrix and another.
public  StringtoString()
     Returns a string representing this matrix.
public  Complextrace()
     Returns the trace.
public  Matrixtranspose()
     Returns the transpose of this matrix.

Field Detail
diagRediagIm
final protected double diagRediagIm(Code)



ldiagReldiagIm
final protected double ldiagReldiagIm(Code)
Tridiagonal data.



udiagReudiagIm
final protected double udiagReudiagIm(Code)




Constructor Detail
ComplexTridiagonalMatrix
public ComplexTridiagonalMatrix(int size)(Code)
Constructs an empty matrix.
Parameters:
  size - the number of rows/columns



ComplexTridiagonalMatrix
public ComplexTridiagonalMatrix(Complex array)(Code)
Constructs a matrix from an array. Any non-tridiagonal elements in the array are ignored.
Parameters:
  array - an assigned value
exception:
  MatrixDimensionException - If the array is not square.




Method Detail
add
public AbstractComplexSquareMatrix add(AbstractComplexSquareMatrix m)(Code)
Returns the addition of this matrix and another.
Parameters:
  m - a complex matrix
exception:
  MatrixDimensionException - If the matrices are different sizes.



add
public ComplexSquareMatrix add(ComplexSquareMatrix m)(Code)



add
public ComplexTridiagonalMatrix add(ComplexTridiagonalMatrix m)(Code)



conjugate
public AbstractComplexMatrix conjugate()(Code)
Returns the complex conjugate of this matrix. a complex tridiagonal matrix



equals
public boolean equals(AbstractComplexMatrix m, double tol)(Code)
Compares two complex matrices for equality.
Parameters:
  m - a complex matrix



frobeniusNorm
public double frobeniusNorm()(Code)
Returns the Frobenius (l2) norm.
author:
   Taber Smith



getElement
public Complex getElement(int i, int j)(Code)
Returns an element of the matrix.
Parameters:
  i - row index of the element
Parameters:
  j - column index of the element
exception:
  MatrixDimensionException - If attempting to access an invalid element.



getImagElement
public double getImagElement(int i, int j)(Code)



getRealElement
public double getRealElement(int i, int j)(Code)



hermitianAdjoint
public AbstractComplexMatrix hermitianAdjoint()(Code)
Returns the hermitian adjoint of this matrix. a complex tridiagonal matrix



imag
public AbstractDoubleMatrix imag()(Code)
Returns the imaginary part of this complex matrix. a double tridiagonal matrix



infNorm
public double infNorm()(Code)
Returns the linfinity-norm.
author:
   Taber Smith



mapElements
public AbstractComplexMatrix mapElements(ComplexMapping f)(Code)
Applies a function on all the matrix elements.
Parameters:
  f - a user-defined function a complex tridiagonal matrix



multiply
public AbstractComplexVector multiply(AbstractComplexVector v)(Code)
Returns the multiplication of a vector by this matrix.
Parameters:
  v - a complex vector
exception:
  DimensionException - If the matrix and vector are incompatible.



multiply
public AbstractComplexSquareMatrix multiply(AbstractComplexSquareMatrix m)(Code)
Returns the multiplication of this matrix and another.
Parameters:
  m - a complex matrix
exception:
  MatrixDimensionException - If the matrices are different sizes.



multiply
public ComplexSquareMatrix multiply(ComplexSquareMatrix m)(Code)



multiply
public ComplexSquareMatrix multiply(ComplexTridiagonalMatrix m)(Code)
Returns the multiplication of this matrix and another.
Parameters:
  m - a complex tridiagonal matrix
exception:
  MatrixDimensionException - If the matrices are different sizes.



operatorNorm
public double operatorNorm() throws MaximumIterationsExceededException(Code)
Returns the operator norm.
exception:
  MaximumIterationsExceededException - If it takes more than 50 iterations to determine an eigenvalue.



real
public AbstractDoubleMatrix real()(Code)
Returns the real part of this complex matrix. a double tridiagonal matrix



scalarMultiply
public AbstractComplexMatrix scalarMultiply(Complex z)(Code)
Returns the multiplication of this matrix by a scalar.
Parameters:
  z - a complex number a complex tridiagonal matrix



scalarMultiply
public AbstractComplexMatrix scalarMultiply(double x)(Code)
Returns the multiplication of this matrix by a scalar.
Parameters:
  x - a double a complex tridiagonal matrix



setElement
public void setElement(int i, int j, Complex z)(Code)
Sets the value of an element of the matrix. Should only be used to initialise this matrix.
Parameters:
  i - row index of the element
Parameters:
  j - column index of the element
Parameters:
  z - a complex number
exception:
  MatrixDimensionException - If attempting to access an invalid element.



setElement
public void setElement(int i, int j, double x, double y)(Code)
Sets the value of an element of the matrix. Should only be used to initialise this matrix.
Parameters:
  i - row index of the element
Parameters:
  j - column index of the element
Parameters:
  x - the real part of a complex number
Parameters:
  y - the imaginary part of a complex number
exception:
  MatrixDimensionException - If attempting to access an invalid element.



subtract
public AbstractComplexSquareMatrix subtract(AbstractComplexSquareMatrix m)(Code)
Returns the subtraction of this matrix and another.
Parameters:
  m - a complex matrix
exception:
  MatrixDimensionException - If the matrices are different sizes.



subtract
public ComplexSquareMatrix subtract(ComplexSquareMatrix m)(Code)



subtract
public ComplexTridiagonalMatrix subtract(ComplexTridiagonalMatrix m)(Code)
Returns the subtraction of this matrix and another.
Parameters:
  m - a complex tridiagonal matrix
exception:
  MatrixDimensionException - If the matrices are different sizes.



toString
public String toString()(Code)
Returns a string representing this matrix.



trace
public Complex trace()(Code)
Returns the trace.



transpose
public Matrix transpose()(Code)
Returns the transpose of this matrix. a complex tridiagonal matrix



Fields inherited from JSci.maths.matrices.AbstractComplexSquareMatrix
protected transient AbstractComplexSquareMatrix[] LU(Code)(Java Doc)
protected transient int[] LUpivot(Code)(Java Doc)

Methods inherited from JSci.maths.matrices.AbstractComplexSquareMatrix
final public AbstractComplexMatrix add(AbstractComplexMatrix m)(Code)(Java Doc)
public AbstractComplexSquareMatrix add(AbstractComplexSquareMatrix m)(Code)(Java Doc)
public AbstractComplexMatrix conjugate()(Code)(Java Doc)
public Complex det()(Code)(Java Doc)
public AbstractComplexSquareMatrix directSum(AbstractComplexSquareMatrix m)(Code)(Java Doc)
public AbstractComplexMatrix hermitianAdjoint()(Code)(Java Doc)
public AbstractDoubleMatrix imag()(Code)(Java Doc)
public AbstractComplexSquareMatrix inverse()(Code)(Java Doc)
final public CStarAlgebra.Member involution()(Code)(Java Doc)
public boolean isHermitian()(Code)(Java Doc)
public boolean isUnitary()(Code)(Java Doc)
public AbstractComplexSquareMatrix[] luDecompose(int pivot)(Code)(Java Doc)
public AbstractComplexSquareMatrix[] luDecompose()(Code)(Java Doc)
public AbstractComplexMatrix mapElements(ComplexMapping f)(Code)(Java Doc)
public AbstractComplexSquareMatrix multiply(AbstractComplexSquareMatrix m)(Code)(Java Doc)
public AbelianGroup.Member negate()(Code)(Java Doc)
public double norm()(Code)(Java Doc)
public double operatorNorm() throws MaximumIterationsExceededException(Code)(Java Doc)
public AbstractComplexSquareMatrix[] polarDecompose()(Code)(Java Doc)
public AbstractDoubleMatrix real()(Code)(Java Doc)
public AbstractComplexMatrix scalarDivide(Complex z)(Code)(Java Doc)
public AbstractComplexMatrix scalarDivide(double x)(Code)(Java Doc)
public AbstractComplexMatrix scalarMultiply(Complex z)(Code)(Java Doc)
public AbstractComplexMatrix scalarMultiply(double x)(Code)(Java Doc)
final public Complex scalarProduct(AbstractComplexMatrix m)(Code)(Java Doc)
public Complex scalarProduct(AbstractComplexSquareMatrix m)(Code)(Java Doc)
final public AbstractComplexMatrix subtract(AbstractComplexMatrix m)(Code)(Java Doc)
public AbstractComplexSquareMatrix subtract(AbstractComplexSquareMatrix m)(Code)(Java Doc)
public AbstractComplexSquareMatrix tensor(AbstractComplexSquareMatrix m)(Code)(Java Doc)
public Complex trace()(Code)(Java Doc)
public Matrix transpose()(Code)(Java Doc)

Methods inherited from JSci.maths.matrices.AbstractComplexMatrix
final public AbelianGroup.Member add(AbelianGroup.Member m)(Code)(Java Doc)
public AbstractComplexMatrix add(AbstractComplexMatrix m)(Code)(Java Doc)
public AbstractComplexMatrix conjugate()(Code)(Java Doc)
public AbstractComplexMatrix directSum(AbstractComplexMatrix m)(Code)(Java Doc)
final public boolean equals(Object obj)(Code)(Java Doc)
final public boolean equals(AbstractComplexMatrix m)(Code)(Java Doc)
public boolean equals(AbstractComplexMatrix m, double tol)(Code)(Java Doc)
public double frobeniusNorm()(Code)(Java Doc)
abstract public Complex getElement(int i, int j)(Code)(Java Doc)
abstract public double getImagElement(int i, int j)(Code)(Java Doc)
abstract public double getRealElement(int i, int j)(Code)(Java Doc)
public Object getSet()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
public AbstractComplexMatrix hermitianAdjoint()(Code)(Java Doc)
public AbstractDoubleMatrix imag()(Code)(Java Doc)
public double infNorm()(Code)(Java Doc)
public AbstractComplexMatrix mapElements(ComplexMapping f)(Code)(Java Doc)
public AbstractComplexVector multiply(AbstractComplexVector v)(Code)(Java Doc)
final public Ring.Member multiply(Ring.Member m)(Code)(Java Doc)
public AbstractComplexMatrix multiply(AbstractComplexMatrix m)(Code)(Java Doc)
public AbelianGroup.Member negate()(Code)(Java Doc)
public AbstractDoubleMatrix real()(Code)(Java Doc)
final public VectorSpace.Member scalarDivide(Field.Member x)(Code)(Java Doc)
public AbstractComplexMatrix scalarDivide(Complex z)(Code)(Java Doc)
public AbstractComplexMatrix scalarDivide(double x)(Code)(Java Doc)
final public Module.Member scalarMultiply(Ring.Member x)(Code)(Java Doc)
public AbstractComplexMatrix scalarMultiply(Complex z)(Code)(Java Doc)
public AbstractComplexMatrix scalarMultiply(double x)(Code)(Java Doc)
public Complex scalarProduct(AbstractComplexMatrix m)(Code)(Java Doc)
abstract public void setElement(int i, int j, Complex z)(Code)(Java Doc)
abstract public void setElement(int i, int j, double x, double y)(Code)(Java Doc)
final public AbelianGroup.Member subtract(AbelianGroup.Member m)(Code)(Java Doc)
public AbstractComplexMatrix subtract(AbstractComplexMatrix m)(Code)(Java Doc)
public AbstractComplexMatrix tensor(AbstractComplexMatrix m)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public Matrix transpose()(Code)(Java Doc)

Fields inherited from JSci.maths.matrices.Matrix
final protected int numCols(Code)(Java Doc)
final protected int numRows(Code)(Java Doc)

Methods inherited from JSci.maths.matrices.Matrix
final public int columns()(Code)(Java Doc)
protected static String getInvalidElementMsg(int i, int j)(Code)(Java Doc)
final public int rows()(Code)(Java Doc)
abstract public Matrix transpose()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

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