|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjmathlib.toolbox.jmathlib.matrix._private.Jampack.House
public class House
House provides static methods to generate and apply Householder transformations.
| Constructor Summary | |
|---|---|
House()
|
|
| Method Summary | |
|---|---|
static Zmat |
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 |
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 Z1 |
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 Z1 |
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 Zmat |
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 |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public House()
| Method Detail |
|---|
public static Z1 genc(Zmat A,
int r1,
int r2,
int c)
throws JampackException
A - The matrix from which the transformation
is to be generated (altered)r1 - The index of the row in which the generating column
beginsr2 - The index of the row in which the generating column
endsc - The index of the generating column
JampackException - Passed from below.
public static Z1 genr(Zmat A,
int r,
int c1,
int c2)
throws JampackException
A - The matrix from which the transformation
is to be generated (altered)r - The index of the generating rowc1 - The index of the column in which the generating row
beginsc2 - The index of the column in which the generating row
ends
JampackException - Passed from below.
public static Zmat ua(Z1 u,
Zmat A,
int r1,
int r2,
int c1,
int c2,
Z1 v)
throws JampackException
u - The Householder vectorA - The Zmat to which the transformation
is to be applied (altered)r1 - The index of the first row to which the transformation
is to be appliedr2 - The index of the last row to which the transformation
is to be appliedc1 - The index of the first column to which the transformation
is index of the to be appliedc2 - The index of the last column to which the transformation
is to be appliedv - A work array of length at least c2-c1+1
JampackException - Thrown if either u or v is too short.
public static Zmat ua(Z1 u,
Zmat A,
int r1,
int r2,
int c1,
int c2)
throws JampackException
u - The Householder vectorA - The Zmat to which the transformation
is to be applied (altered)r1 - The index of the first row to which the transformation
is to be appliedr2 - The index of the last row to which the transformation
is to be appliedc1 - The index of the first column to which the transformation
is index of the to be appliedc2 - The index of the last column to which the transformation
is to be applied
JampackException - Passed from below.
public static Zmat au(Zmat A,
Z1 u,
int r1,
int r2,
int c1,
int c2,
Z1 v)
throws JampackException
u - The Householder vectorA - The Zmat to which the transformation
is to be applied (altered)r1 - The index of the first row to which the transformation
is to be appliedr2 - The index of the last row to which the transformation
is to be appliedc1 - The index of the first column to which the transformation
is index of the to be appliedc2 - The index of the last column to which the transformation
is to be appliedv - A work array of length at least c2-c1+1
JampackException - Thrown if either u or v is too short.
public static Zmat au(Zmat A,
Z1 u,
int r1,
int r2,
int c1,
int c2)
throws JampackException
u - The Householder vectorA - The Zmat to which the transformation
is to be applied (altered)r1 - The index of the first row to which the transformation
is to be appliedr2 - The index of the last row to which the transformation
is to be appliedc1 - The index of the first column to which the transformation
is index of the to be appliedc2 - The index of the last column to which the transformation
is to be applied
JampackException - Passed from below.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||