| 
 | JMSLTM Numerical Library 4.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.imsl.math.ComplexMatrix
Complex matrix manipulation functions.
| Method Summary | |
| static Complex[][] | add(Complex[][] a,
    Complex[][] b)Add two rectangular Complexarrays, a + b. | 
| static void | checkMatrix(Complex[][] a)Check that all of the rows in the Complexmatrix have the same length. | 
| static void | checkSquareMatrix(Complex[][] a)Check that the Complexmatrix is square. | 
| static double | frobeniusNorm(Complex[][] a)Return the Frobenius norm of a Complexmatrix. | 
| static double | infinityNorm(Complex[][] a)Return the infinity norm of a Complexmatrix. | 
| static Complex[] | multiply(Complex[][] a,
         Complex[] x)Multiply the rectangular array a and the column vector x, both Complex. | 
| static Complex[][] | multiply(Complex[][] a,
         Complex[][] b)Multiply two Complexrectangular arrays, a * b. | 
| static Complex[] | multiply(Complex[] x,
         Complex[][] a)Return the product of the row vector x and the rectangular array a, both Complex. | 
| static double | oneNorm(Complex[][] a)Return the Complexmatrix one norm. | 
| static Complex[][] | subtract(Complex[][] a,
         Complex[][] b)Subtract two Complexrectangular arrays, a - b. | 
| static Complex[][] | transpose(Complex[][] a)Return the transpose of a Complexmatrix. | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
public static Complex[][] add(Complex[][] a,
                              Complex[][] b)
Complex arrays, a + b.
a - a Complex rectangular arrayb - a Complex rectangular array
Complex matrix sum of the two arguments
IllegalArgumentException - This exception is thrown when
				(1) the lengths of the rows of either of the input matrices
				are not uniform, or
				(2) the matrices are not the same size.public static void checkMatrix(Complex[][] a)
Complex matrix have the same length.
a - a Complex matrix
IllegalArgumentException - This exception is thrown when the lengths of the
				rows of the input matrix are not uniform.public static void checkSquareMatrix(Complex[][] a)
Complex matrix is square.
a - a Complex matrix
IllegalArgumentException - This exception is thrown when the matrix is not square..public static double frobeniusNorm(Complex[][] a)
Complex matrix.
a - a Complex rectangular matrix
double value equal to the Frobenius norm of the matrix
IllegalArgumentException - This exception is thrown when
              the lengths of the rows of the input matrix is not uniform.public static double infinityNorm(Complex[][] a)
Complex matrix.
a - a Complex rectangular matrix
double value equal to the maximum of the row sums
				of the absolute values of the array elements.
IllegalArgumentException - This exception is thrown when
              the lengths of the rows of the input matrix is not uniform.
public static Complex[] multiply(Complex[][] a,
                                 Complex[] x)
Complex.
a - a Complex rectangular matrixx - a Complex vector
Complex vector containing the product of the arguments, A*x
IllegalArgumentException - This exception is thrown when
				(1) the	lengths of the rows of the input matrix are not
				uniform, and
				(2) the number of columns in the input matrix is not equal to
				the number of elements in the input vector.
public static Complex[][] multiply(Complex[][] a,
                                   Complex[][] b)
Complex rectangular arrays, a * b.
a - a Complex rectangular arrayb - a Complex rectangular array
Complex matrix product of a times b
IllegalArgumentException - This exception is thrown when
				(1) the lengths of the rows of either of the input matrices
				are not uniform, or
				(2) the number of columns in a is not equal to the
				number of rows in b.
public static Complex[] multiply(Complex[] x,
                                 Complex[][] a)
Complex.
x - a Complex row vectora - a Complex rectangular matrix
Complex vector containing the product of the arguments, x*A.
IllegalArgumentException - This exception is thrown when
				(1) the lengths of the rows of the input matrix are
				not uniform, or
				(2) the number of elements in the input vector
				is not equal to the number of rows of the matrix.public static double oneNorm(Complex[][] a)
Complex matrix one norm.
a - a Complex rectangular array
double value equal to the maximum of the column sums
				of the absolute values of the array elements
IllegalArgumentException - This exception is thrown when
              the lengths of the rows of the input matrix is not uniform.
public static Complex[][] subtract(Complex[][] a,
                                   Complex[][] b)
Complex rectangular arrays, a - b.
a - a Complex rectangular arrayb - a Complex rectangular array
Complex matrix difference of the two arguments.
IllegalArgumentException - This exception is thrown when
				(1) the lengths of the rows of either of the input matrices
				are not uniform, or
				(2) the matrices are not the same size.public static Complex[][] transpose(Complex[][] a)
Complex matrix.
a - a Complex matrix
Complex matrix transpose of the argument
IllegalArgumentException - This exception is thrown when
				the lengths of the rows of the input matrix are not uniform.| 
 | JMSLTM Numerical Library 4.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||