|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Zmat | |
---|---|
Jampack |
Uses of Zmat in Jampack |
---|
Subclasses of Zmat in Jampack | |
---|---|
class |
Zltmat
Zltmat is a tag class of Zmat, which tells Jampack to expect a lower triangular matrix. |
class |
Zpsdmat
Zpsdmat is a tag class of Zmat, which tells Jampack to expect a (Hermitian) positive semidefinite matrix. |
class |
Zutmat
Zutmat is a tag class of Zmat, which tells Jampack to expect an upper triangular matrix. |
Fields in Jampack declared as Zmat | |
---|---|
Zmat |
Zhess.H
The upper Hessenberg matrix |
Zmat |
Zqrd.Q
The unitary matrix Q |
Zmat |
Zsvd.U
The matrix of left singular vectors |
Zmat |
Zspec.U
The matrix of eigenvectors |
Zmat |
Zhess.U
The unitary matrix |
Zmat |
Schur.U
The unitary matrix. |
Zmat |
Zsvd.V
The matrix of right singular vectore |
Zmat |
Eig.X
The matrix of eigevectors |
Methods in Jampack that return Zmat | |
---|---|
static Zmat |
Solve.ahib(Zltmat L,
Zmat B)
Solves LHX = B, where L is a Zltmat and B is a Zmat. |
static Zmat |
Solve.ahib(Zmat A,
Zmat B)
Solve AHX = B, where A is a Zmat and B is a Zmat. |
static Zmat |
Solve.ahib(Zutmat U,
Zmat B)
Solves UHX = B, where U is a Zutmat and B is a Zmat. |
static Zmat |
Solve.aib(Zltmat L,
Zmat B)
Solves LX = B, where L is a Zltmat and B is a Zmat. |
static Zmat |
Solve.aib(Zmat A,
Zmat B)
Solves AX = B, where A is a Zmat and B is a Zmat. |
static Zmat |
Solve.aib(Zpsdmat A,
Zmat B)
Solves AX = B, where A is a Zpsdmat and B is a Zmat. |
static Zmat |
Solve.aib(Zutmat U,
Zmat B)
Solves UX = B, where U is a Zutmat and B is a Zmat. |
static Zmat |
House.au(Zmat A,
Z1 u,
int r1,
int r2,
int c1,
int c2)
Postmultiplies the Householder transformation contained in a Z1 into a Zmat A[r1:r2,c1:c2] and overwrites Zmat A[r1:r2,c1:c2] with the results. |
static Zmat |
House.au(Zmat A,
Z1 u,
int r1,
int r2,
int c1,
int c2,
Z1 v)
Postmultiplies the Householder transformation contained in a Z1 into a Zmat A[r1:r2,c1:c2] and overwrites Zmat A[r1:r2,c1:c2] with the results. |
static Zmat |
Solve.bahi(Zmat B,
Zltmat L)
Solves XLH = B, where L is a Zltmat and B is a Zmat. |
static Zmat |
Solve.bahi(Zmat B,
Zmat A)
Solve XA^H = B, where A is a Zmat and B is a Zmat. |
static Zmat |
Solve.bahi(Zmat B,
Zutmat U)
Solves XUH = B, where U is a Zutmat and B is a Zmat. |
static Zmat |
Solve.bai(Zmat B,
Zltmat L)
Solves XL = B, where L is a Zltmat and B is a Zmat. |
static Zmat |
Solve.bai(Zmat B,
Zmat A)
Solve XA = B, where A is a Zmat and B is a Zmat. |
static Zmat |
Solve.bai(Zmat B,
Zpsdmat A)
Solves XA = B, where A is a Zpsdmat and B is a Zmat. |
static Zmat |
Solve.bai(Zmat B,
Zutmat U)
Solves XU = B, where U is a Zutmat and B is a Zmat. |
Zmat |
Zhqrd.bq(Zmat B)
Computes the product BQ. |
Zmat |
Zhqrd.bqh(Zmat A,
Zmat B)
Computes the product BQH. |
Zmat |
Zmat.get(int[] ii,
int[] jj)
Returns the submatrix (ii[], jj[]). |
Zmat |
Zmat.get(int[] ii,
int jj1,
int jj2)
Returns the submatrix (ii[], jj1:jj2). |
Zmat |
Zmat.get(int ii1,
int ii2,
int[] jj)
Returns the submatrix (ii1:ii2, jj[]). |
Zmat |
Zmat.get(int ii1,
int ii2,
int jj1,
int jj2)
Returns the submatrix (ii1:ii2, jj1:jj2). |
static Zmat |
Rand.nzmat(int m,
int n)
Generates a normal random Zmat. |
static Zmat |
Eye.o(int n)
Generates an identity matrix of order n. |
static Zmat |
Eye.o(int m,
int n)
Generates an mxn matrix whose diagonal elements are one and whose off diagonal elements are zero. |
static Zmat |
Times.o(Zdiagmat D,
Zmat A)
Computes the product of a Zdiagmat and a Zmat. |
static Zmat |
Plus.o(Zdiagmat D,
Zmat A)
Computes the sum of a Zdiagmat and a Zmat. |
static Zmat |
Minus.o(Zdiagmat D,
Zmat A)
Computes the difference of a Zdiagmat and a Zmat. |
static Zmat |
Minus.o(Zmat A)
Negates a Zmat |
static Zmat |
Inv.o(Zmat A)
Computes the inverse of a square Zmat |
static Zmat |
H.o(Zmat A)
Returns the conjugate transpose of a Zmat. |
static Zmat |
Merge.o(Zmat[][] B)
Merges the matrices in an array of Zmats |
static Zmat[][] |
Block.o(Zmat A,
int[] ii,
int[] jj)
This method takes a Zmat A and two arrays ii and jj of length m and n and produces an (m-1)x(n-1) block matrix Zmat[m-1][n-1], whose (i,j)-element is A.get(ii[i], ii[i+1]-1, jj[j], jj[j+1]-1). |
static Zmat |
Times.o(Zmat A,
Zdiagmat D)
Computes the product of a Zmat and a Zdiagmat. |
static Zmat |
Plus.o(Zmat A,
Zdiagmat D)
Computes the sum of a Zmat and a Zdiagmat. |
static Zmat |
Minus.o(Zmat A,
Zdiagmat D)
Computes the difference of a Zmat and a Zdiagmat. |
static Zmat |
Times.o(Zmat A,
Zmat B)
Computes the product of two Zmats. |
static Zmat |
Plus.o(Zmat A,
Zmat B)
Computes the sum of two Zmats |
static Zmat |
Minus.o(Zmat A,
Zmat B)
Computes the difference of two Zmats. |
static Zmat |
Times.o(Z z,
Zmat A)
Computes the product of a Z and a Zmat. |
static Zmat |
Merge.o12(Zmat B00,
Zmat B01)
Merges its arguments to create the Zmat |
static Zmat |
Merge.o13(Zmat B00,
Zmat B01,
Zmat B02)
Merges its arguments to create the Zmat |
static Zmat |
Merge.o21(Zmat B00,
Zmat B10)
Merges its arguments to create the Zmat |
static Zmat |
Merge.o22(Zmat B00,
Zmat B01,
Zmat B10,
Zmat B11)
Merges its arguments to create the matrix |
static Zmat |
Merge.o23(Zmat B00,
Zmat B01,
Zmat B02,
Zmat B10,
Zmat B11,
Zmat B12)
Merges its arguments to create the Zmat |
static Zmat |
Merge.o31(Zmat B00,
Zmat B10,
Zmat B20)
Merges its arguments to create the Zmat |
static Zmat |
Merge.o32(Zmat B00,
Zmat B01,
Zmat B10,
Zmat B11,
Zmat B20,
Zmat B21)
Merges its arguments to create the Zmat |
static Zmat |
Merge.o33(Zmat B00,
Zmat B01,
Zmat B02,
Zmat B10,
Zmat B11,
Zmat B12,
Zmat B20,
Zmat B21,
Zmat B22)
Merges its arguments to create the Zmat |
Zmat |
Zhqrd.qb(Zmat B)
Computes the product QB. |
Zmat |
Zhqrd.qhb(Zmat B)
Computes the product QHB. |
static Zmat |
Pivot.row(Zmat A,
int[] pvt)
Pivots the rows of a Zmat (altered) as specified by a pivot array. |
static Zmat |
Pivot.rowi(Zmat A,
int[] pvt)
Pivots the rows of a Zmat (altered) as in the inverse order specified by a pivot array. |
static Zmat |
H.trans(Zmat A)
Returns the transpose of a Zmat. |
static Zmat |
House.ua(Z1 u,
Zmat A,
int r1,
int r2,
int c1,
int c2)
Premultiplies the Householder transformation contained in a Z1 into a Zmat A[r1:r2,c1:c2] and overwrites Zmat A[r1:r2,c1:c2] with the results. |
static Zmat |
House.ua(Z1 u,
Zmat A,
int r1,
int r2,
int c1,
int c2,
Z1 v)
Premultiplies the Householder transformation contained in a Z1 into a Zmat A[r1:r2,c1:c2] and overwrites Zmat A[r1:r2,c1:c2] with the results. |
static Zmat |
Rand.uzmat(int m,
int n)
Generates a uniform random Zmat. |
Methods in Jampack with parameters of type Zmat | |
---|---|
static Zpsdmat |
Times.aah(Zmat A)
Computes AAH, where A is a Zmat. |
static void |
Parameters.adjustBaseIndex(Zmat A)
Adjust the base index of a Zmat to make it conform to the default. |
static Zpsdmat |
Times.aha(Zmat A)
Computes AHA, where A is a Zmat. |
static Zmat |
Solve.ahib(Zltmat L,
Zmat B)
Solves LHX = B, where L is a Zltmat and B is a Zmat. |
static Zmat |
Solve.ahib(Zmat A,
Zmat B)
Solve AHX = B, where A is a Zmat and B is a Zmat. |
static Zmat |
Solve.ahib(Zutmat U,
Zmat B)
Solves UHX = B, where U is a Zutmat and B is a Zmat. |
static Zmat |
Solve.aib(Zltmat L,
Zmat B)
Solves LX = B, where L is a Zltmat and B is a Zmat. |
static Zmat |
Solve.aib(Zmat A,
Zmat B)
Solves AX = B, where A is a Zmat and B is a Zmat. |
static Zmat |
Solve.aib(Zpsdmat A,
Zmat B)
Solves AX = B, where A is a Zpsdmat and B is a Zmat. |
static Zmat |
Solve.aib(Zutmat U,
Zmat B)
Solves UX = B, where U is a Zutmat and B is a Zmat. |
static void |
Rot.ap(Zmat A,
Rot P,
int ii1,
int ii2,
int jj1,
int jj2)
Multiplies columns (ii1:ii2,jj1) and A(ii2:ii2,jj1) of a Zmat (altered) by a plane rotation. |
static void |
Rot.aph(Zmat A,
Rot P,
int ii1,
int ii2,
int jj1,
int jj2)
Multiplies columns (ii1:ii2,jj1) and A(ii2:ii2,jj1) of a Zmat (altered) by the conjugate transpose of plane rotation. |
static Zmat |
House.au(Zmat A,
Z1 u,
int r1,
int r2,
int c1,
int c2)
Postmultiplies the Householder transformation contained in a Z1 into a Zmat A[r1:r2,c1:c2] and overwrites Zmat A[r1:r2,c1:c2] with the results. |
static Zmat |
House.au(Zmat A,
Z1 u,
int r1,
int r2,
int c1,
int c2,
Z1 v)
Postmultiplies the Householder transformation contained in a Z1 into a Zmat A[r1:r2,c1:c2] and overwrites Zmat A[r1:r2,c1:c2] with the results. |
static Zmat |
Solve.bahi(Zmat B,
Zltmat L)
Solves XLH = B, where L is a Zltmat and B is a Zmat. |
static Zmat |
Solve.bahi(Zmat B,
Zmat A)
Solve XA^H = B, where A is a Zmat and B is a Zmat. |
static Zmat |
Solve.bahi(Zmat B,
Zutmat U)
Solves XUH = B, where U is a Zutmat and B is a Zmat. |
static Zmat |
Solve.bai(Zmat B,
Zltmat L)
Solves XL = B, where L is a Zltmat and B is a Zmat. |
static Zmat |
Solve.bai(Zmat B,
Zmat A)
Solve XA = B, where A is a Zmat and B is a Zmat. |
static Zmat |
Solve.bai(Zmat B,
Zpsdmat A)
Solves XA = B, where A is a Zpsdmat and B is a Zmat. |
static Zmat |
Solve.bai(Zmat B,
Zutmat U)
Solves XU = B, where U is a Zutmat and B is a Zmat. |
Zmat |
Zhqrd.bq(Zmat B)
Computes the product BQ. |
Zmat |
Zhqrd.bqh(Zmat A,
Zmat B)
Computes the product BQH. |
static void |
Swap.cols(Zmat A,
int c1,
int c2)
Interchances two columns of a Zmat (altered). |
static double |
Norm.fro(Zmat A)
Computes the Frobenius norm of a Zmat. |
static double |
Norm.fro(Zmat A,
int ii1,
int ii2,
int jj1,
int jj2)
Computes the Frobenius norm of a the submatrix (ii1:ii2, jj1,jj2) of a Zmat. |
static Rot |
Rot.genc(Zmat A,
int ii1,
int ii2,
int jj)
Given a Zmat A, genc returns a plane rotation that on premultiplication into rows ii1 and ii2 annihilates A(ii2,jj). |
static Z1 |
House.genc(Zmat A,
int r1,
int r2,
int c)
Generates a Householder transformation from within the part of column c of a Zmat (altered) extending from rows r1 to r2. |
static void |
Rot.genc(Zmat A,
int ii1,
int ii2,
int jj,
Rot P)
Given a Zmat A, genc generates a plane rotation that on premultiplication into rows ii1 and ii2 annihilates A(ii2,jj). |
static Rot |
Rot.genr(Zmat A,
int ii,
int jj1,
int jj2)
Given a Zmat A, genr returns a plane rotation that on postmultiplication into column jj1 and jj2 annihilates A(ii,jj2). |
static Z1 |
House.genr(Zmat A,
int r,
int c1,
int c2)
Generates a Householder transformation from within the part of row r of a Zmat (altered) extending from columns c1 to c2. |
static void |
Rot.genr(Zmat A,
int ii,
int jj1,
int jj2,
Rot P)
Given a Zmat A, genr generates a plane rotation that on postmultiplication into column jj1 and jj2 annihilates A(ii,jj2). |
static Zmat |
Times.o(Zdiagmat D,
Zmat A)
Computes the product of a Zdiagmat and a Zmat. |
static Zmat |
Plus.o(Zdiagmat D,
Zmat A)
Computes the sum of a Zdiagmat and a Zmat. |
static Zmat |
Minus.o(Zdiagmat D,
Zmat A)
Computes the difference of a Zdiagmat and a Zmat. |
static void |
Print.o(Zmat A)
Prints a Zmat in default e format. |
static Zmat |
Minus.o(Zmat A)
Negates a Zmat |
static Zmat |
Inv.o(Zmat A)
Computes the inverse of a square Zmat |
static Zmat |
H.o(Zmat A)
Returns the conjugate transpose of a Zmat. |
static Zmat |
Merge.o(Zmat[][] B)
Merges the matrices in an array of Zmats |
static Zmat[][] |
Block.o(Zmat A,
int[] ii,
int[] jj)
This method takes a Zmat A and two arrays ii and jj of length m and n and produces an (m-1)x(n-1) block matrix Zmat[m-1][n-1], whose (i,j)-element is A.get(ii[i], ii[i+1]-1, jj[j], jj[j+1]-1). |
static void |
Print.o(Zmat A,
int w,
int d)
Prints a Zmat in w.d e format. |
static Zmat |
Times.o(Zmat A,
Zdiagmat D)
Computes the product of a Zmat and a Zdiagmat. |
static Zmat |
Plus.o(Zmat A,
Zdiagmat D)
Computes the sum of a Zmat and a Zdiagmat. |
static Zmat |
Minus.o(Zmat A,
Zdiagmat D)
Computes the difference of a Zmat and a Zdiagmat. |
static Zmat |
Times.o(Zmat A,
Zmat B)
Computes the product of two Zmats. |
static Zmat |
Plus.o(Zmat A,
Zmat B)
Computes the sum of two Zmats |
static Zmat |
Minus.o(Zmat A,
Zmat B)
Computes the difference of two Zmats. |
static Zmat |
Times.o(Z z,
Zmat A)
Computes the product of a Z and a Zmat. |
static Zmat |
Merge.o12(Zmat B00,
Zmat B01)
Merges its arguments to create the Zmat |
static Zmat |
Merge.o13(Zmat B00,
Zmat B01,
Zmat B02)
Merges its arguments to create the Zmat |
static Zmat |
Merge.o21(Zmat B00,
Zmat B10)
Merges its arguments to create the Zmat |
static Zmat |
Merge.o22(Zmat B00,
Zmat B01,
Zmat B10,
Zmat B11)
Merges its arguments to create the matrix |
static Zmat |
Merge.o23(Zmat B00,
Zmat B01,
Zmat B02,
Zmat B10,
Zmat B11,
Zmat B12)
Merges its arguments to create the Zmat |
static Zmat |
Merge.o31(Zmat B00,
Zmat B10,
Zmat B20)
Merges its arguments to create the Zmat |
static Zmat |
Merge.o32(Zmat B00,
Zmat B01,
Zmat B10,
Zmat B11,
Zmat B20,
Zmat B21)
Merges its arguments to create the Zmat |
static Zmat |
Merge.o33(Zmat B00,
Zmat B01,
Zmat B02,
Zmat B10,
Zmat B11,
Zmat B12,
Zmat B20,
Zmat B21,
Zmat B22)
Merges its arguments to create the Zmat |
static void |
Rot.pa(Rot P,
Zmat A,
int ii1,
int ii2,
int jj1,
int jj2)
Multiplies rows (ii1,jj1:jj2) and (ii2,jj1:jj2) of a Zmat (altered) by a plane rotation. |
static void |
Rot.pha(Rot P,
Zmat A,
int ii1,
int ii2,
int jj1,
int jj2)
Multiplies rows (ii1,jj1:jj2) and (ii2,jj1:jj2) of a Zmat (altered) by the conjugate transpose of a plane rotation. |
void |
Zmat.put(int[] ii,
int[] jj,
Zmat A)
Overwrites the submatrix (ii[], jj[]) with a Zmat. |
void |
Zmat.put(int[] ii,
int jj1,
int jj2,
Zmat A)
Overwrites the submatrix (ii[], jj1:jj2) with a Zmat. |
void |
Zmat.put(int ii1,
int ii2,
int[] jj,
Zmat A)
Overwrites the submatrix (ii1:ii2, jj[]) with a Zmat. |
void |
Zmat.put(int ii1,
int ii2,
int jj1,
int jj2,
Zmat A)
Overwrites the submatrix (ii1:ii2, jj1:jj2) with a Zmat. |
Zmat |
Zhqrd.qb(Zmat B)
Computes the product QB. |
Zmat |
Zhqrd.qhb(Zmat B)
Computes the product QHB. |
static Zmat |
Pivot.row(Zmat A,
int[] pvt)
Pivots the rows of a Zmat (altered) as specified by a pivot array. |
static Zmat |
Pivot.rowi(Zmat A,
int[] pvt)
Pivots the rows of a Zmat (altered) as in the inverse order specified by a pivot array. |
static void |
Swap.rows(Zmat A,
int r1,
int r2)
Interchances two rows of a Zmat (altered). |
static Zmat |
H.trans(Zmat A)
Returns the transpose of a Zmat. |
static Zmat |
House.ua(Z1 u,
Zmat A,
int r1,
int r2,
int c1,
int c2)
Premultiplies the Householder transformation contained in a Z1 into a Zmat A[r1:r2,c1:c2] and overwrites Zmat A[r1:r2,c1:c2] with the results. |
static Zmat |
House.ua(Z1 u,
Zmat A,
int r1,
int r2,
int c1,
int c2,
Z1 v)
Premultiplies the Householder transformation contained in a Z1 into a Zmat A[r1:r2,c1:c2] and overwrites Zmat A[r1:r2,c1:c2] with the results. |
Constructors in Jampack with parameters of type Zmat | |
---|---|
Eig(Zmat A)
Creates an eigenvalue-vector decomposition of a square matrix A. |
|
Schur(Zmat A)
Creats a Schur decomposition from a square Zmat. |
|
Zchol(Zmat A)
Constructs a Zchol from a Zmat A. |
|
Zdiagmat(Zmat A)
Constructs a Zdiagmat and initializes it to the principal diagonal of a Zmat. |
|
Zdiagmat(Zmat A,
int k)
Constructs a Zdiagmat and initializes it to the diagonal of a Zmat. |
|
Zhess(Zmat A)
Creates a Zhess from a square Zmat. |
|
Zhqrd(Zmat A)
Computes a Householder QR decomposition of a Zmat |
|
Zltmat(Zmat A)
|
|
Zludpp(Zmat A)
Computes the partially pivoted LU decompostion. |
|
Zmat(Zmat A)
Creates a Zmat and intitializes it to a Zmat. |
|
Zpsdmat(Zmat A)
|
|
Zqrd(Zmat A)
Constructs a Zqrd from a Zmat. |
|
Zspec(Zmat AA)
Creates a Zspec from Zmat. |
|
Zsvd(Zmat XX)
Computes the SVD of a Zmat XX. |
|
Zutmat(Zmat A)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |