|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectJampack.Solve
public class Solve
Solve solves linear systems of the form
A*X = B AH*X = B X*A = B X*AH = Bwhere A is a nonsingular Zmat, B is a Zmat, and '^H' denotes the conjugate transpose. Appropriate action is taken for Zmats that are Zltmats, Zutmats, and Zpsdmats. If a decomposition is computed and the History parameter is set, then the decomposition is saved for reuse.
Comments: For triangular matrices only the systems AX=B and A^HX=B are solved by hard code, the other two being solved by wizardry involving transposed systems. This requires the generation of new Zmats of the same size as B, which is inefficient if B is, say, square. Later these methods will be implemented with hard code.
Constructor Summary | |
---|---|
Solve()
|
Method Summary | |
---|---|
static Zmat |
ahib(Zltmat L,
Zmat B)
Solves LHX = B, where L is a Zltmat and B is a Zmat. |
static Zmat |
ahib(Zmat A,
Zmat B)
Solve AHX = B, where A is a Zmat and B is a Zmat. |
static Zmat |
ahib(Zutmat U,
Zmat B)
Solves UHX = B, where U is a Zutmat and B is a Zmat. |
static Zmat |
aib(Zltmat L,
Zmat B)
Solves LX = B, where L is a Zltmat and B is a Zmat. |
static Zmat |
aib(Zmat A,
Zmat B)
Solves AX = B, where A is a Zmat and B is a Zmat. |
static Zmat |
aib(Zpsdmat A,
Zmat B)
Solves AX = B, where A is a Zpsdmat and B is a Zmat. |
static Zmat |
aib(Zutmat U,
Zmat B)
Solves UX = B, where U is a Zutmat and B is a Zmat. |
static Zmat |
bahi(Zmat B,
Zltmat L)
Solves XLH = B, where L is a Zltmat and B is a Zmat. |
static Zmat |
bahi(Zmat B,
Zmat A)
Solve XA^H = B, where A is a Zmat and B is a Zmat. |
static Zmat |
bahi(Zmat B,
Zutmat U)
Solves XUH = B, where U is a Zutmat and B is a Zmat. |
static Zmat |
bai(Zmat B,
Zltmat L)
Solves XL = B, where L is a Zltmat and B is a Zmat. |
static Zmat |
bai(Zmat B,
Zmat A)
Solve XA = B, where A is a Zmat and B is a Zmat. |
static Zmat |
bai(Zmat B,
Zpsdmat A)
Solves XA = B, where A is a Zpsdmat and B is a Zmat. |
static Zmat |
bai(Zmat B,
Zutmat U)
Solves XU = B, where U is a Zutmat and B is a Zmat. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Solve()
Method Detail |
---|
public static Zmat aib(Zltmat L, Zmat B) throws JampackException
L
- The matrix of the sysemB
- The right-hand side
JampackException
- Thrown for nonsquare matrix or nonconformity.public static Zmat ahib(Zltmat L, Zmat B) throws JampackException
L
- The matrix of the sysemB
- The right-hand side
JampackException
- Thrown for nonsquare matrix or nonconformity.public static Zmat bai(Zmat B, Zltmat L) throws JampackException
B
- The right-hand sideL
- The matrix of the system
JampackException
- Thrown for nonsquare matrix or nonconformity.public static Zmat bahi(Zmat B, Zltmat L) throws JampackException
B
- The right-hand sideL
- The matrix of the system
JampackException
- Thrown for nonsquare matrix or nonconformity.public static Zmat aib(Zutmat U, Zmat B) throws JampackException
U
- The matrix of the systemB
- The right-hand side
JampackException
- Thrown for nonsquare matrix or nonconformity.public static Zmat ahib(Zutmat U, Zmat B) throws JampackException
U
- The matrix of the systemB
- The right-hand side
JampackException
- Thrown for nonsquare matrix or nonconformity.public static Zmat bai(Zmat B, Zutmat U) throws JampackException
B
- The right-hand sideU
- The matrix of the system
JampackException
- Thrown for nonsquare matrix or nonconformity.public static Zmat bahi(Zmat B, Zutmat U) throws JampackException
B
- The right-hand sideU
- The matrix of the system
JampackException
- Thrown for nonsquare matrix or nonconformity.public static Zmat aib(Zmat A, Zmat B) throws JampackException
A
- The matrix of the sysemB
- The right-hand side
JampackException
- Thrown for nonsquare matrix or nonconformity.public static Zmat ahib(Zmat A, Zmat B) throws JampackException
A
- The matrix of the sysemB
- The right-hand side
JampackException
- Thrown for nonsquare matrix or nonconformity.public static Zmat bai(Zmat B, Zmat A) throws JampackException
B
- The right-hand sideA
- The matrix of the sysem
JampackException
- Thrown for nonsquare matrix or nonconformity.public static Zmat bahi(Zmat B, Zmat A) throws JampackException
B
- The right-hand sideA
- The matrix of the sysem
JampackException
- Thrown for nonsquare matrix or nonconformity.public static Zmat aib(Zpsdmat A, Zmat B) throws JampackException
A
- The matrix of the sysemB
- The right-hand side
JampackException
- Thrown for nonsquare matrix or nonconformity.public static Zmat bai(Zmat B, Zpsdmat A) throws JampackException
B
- The right-hand sideA
- The matrix of the sysem
JampackException
- Thrown for nonsquare matrix or nonconformity.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |