All Packages Class Hierarchy This Package Previous Next Index
Class Jampack.Merge
java.lang.Object
|
+----Jampack.Merge
- public class Merge
- extends Object
Merge is a class containing programs to merge matrices
into one big matrix. The basic method (Merge.o) takes
an array of Zmat's and merges them. For conformity, the Zmats
along a row of the array must have the same number of rows,
and the Zmats along a column of the array must have the same
number of columns.
For convenience a number of special routines (o12, o21, o22, o13, ...)
are provided to merge the matrices in their argument list.
-
Merge()
-
-
o(Zmat[][])
- Merges the matrices in an array of Zmats
-
o12(Zmat, Zmat)
- Merges its arguments to create the Zmat
A = | B00 B01 |
-
o13(Zmat, Zmat, Zmat)
- Merges its arguments to create the Zmat
A = | B00 B01 B02 |
-
o21(Zmat, Zmat)
- Merges its arguments to create the Zmat
A = | B00 |
| B10 |
-
o22(Zmat, Zmat, Zmat, Zmat)
- Merges its arguments to create the matrix
A = | B00 B01|
| B10 B11|
-
o23(Zmat, Zmat, Zmat, Zmat, Zmat, Zmat)
- Merges its arguments to create the Zmat
A = | B00 B01 B02 |
| B10 B11 B12 |
-
o31(Zmat, Zmat, Zmat)
- Merges its arguments to create the Zmat
A = | B00 |
| B10 |
| B20 |
-
o32(Zmat, Zmat, Zmat, Zmat, Zmat, Zmat)
- Merges its arguments to create the Zmat
A = | B00 B01 |
| B10 B11 |
| B20 B21 |
-
o33(Zmat, Zmat, Zmat, Zmat, Zmat, Zmat, Zmat, Zmat, Zmat)
- Merges its arguments to create the Zmat
A = | B00 B01 B02 |
| B10 B11 B12 |
| B20 B21 B22 |
Merge
public Merge()
o
public static Zmat o(Zmat B[][]) throws JampackException
- Merges the matrices in an array of Zmats
- Parameters:
- B[][] - The array of Zmats
- Returns:
- The merged Zmat
- Throws: JampackException
- Thrown if there is a nonconformity.
o12
public static Zmat o12(Zmat B00,
Zmat B01) throws JampackException
- Merges its arguments to create the Zmat
A = | B00 B01 |
- Parameters:
- Bij - The Zmats to be merged
- Returns:
- The composite Zmat A
- Throws: JampackException
- Thrown if there is a nonconformity.
o21
public static Zmat o21(Zmat B00,
Zmat B10) throws JampackException
- Merges its arguments to create the Zmat
A = | B00 |
| B10 |
- Parameters:
- Bij - The Zmats to be merged
- Returns:
- The composite Zmat A
- Throws: JampackException
- Thrown if there is a nonconformity.
o22
public static Zmat o22(Zmat B00,
Zmat B01,
Zmat B10,
Zmat B11) throws JampackException
- Merges its arguments to create the matrix
A = | B00 B01|
| B10 B11|
- Parameters:
- Bij - The Zmats to be merged
- Returns:
- The composite Zmat A
- Throws: JampackException
- Thrown if there is a nonconformity.
o13
public static Zmat o13(Zmat B00,
Zmat B01,
Zmat B02) throws JampackException
- Merges its arguments to create the Zmat
A = | B00 B01 B02 |
- Parameters:
- Bij - The Zmats to be merged
- Returns:
- The composite Zmat A
- Throws: JampackException
- Thrown if there is a nonconformity.
o23
public static Zmat o23(Zmat B00,
Zmat B01,
Zmat B02,
Zmat B10,
Zmat B11,
Zmat B12) throws JampackException
- Merges its arguments to create the Zmat
A = | B00 B01 B02 |
| B10 B11 B12 |
- Parameters:
- Bij - The Zmats to be merged
- Returns:
- The composite Zmat A
- Throws: JampackException
- Thown if there is a nonconformity.
o31
public static Zmat o31(Zmat B00,
Zmat B10,
Zmat B20) throws JampackException
- Merges its arguments to create the Zmat
A = | B00 |
| B10 |
| B20 |
- Parameters:
- Bij - The Zmats to be merged
- Returns:
- The composite Zmat A
- Throws: JampackException
- Thrown if there is a nonconformity.
o32
public static Zmat o32(Zmat B00,
Zmat B01,
Zmat B10,
Zmat B11,
Zmat B20,
Zmat B21) throws JampackException
- Merges its arguments to create the Zmat
A = | B00 B01 |
| B10 B11 |
| B20 B21 |
- Parameters:
- Bij - The Zmats to be merged
- Returns:
- The composite Zmat A
- Throws: JampackException
- Thrown if there is a nonconformity.
o33
public static Zmat o33(Zmat B00,
Zmat B01,
Zmat B02,
Zmat B10,
Zmat B11,
Zmat B12,
Zmat B20,
Zmat B21,
Zmat B22) throws JampackException
- Merges its arguments to create the Zmat
A = | B00 B01 B02 |
| B10 B11 B12 |
| B20 B21 B22 |
- Parameters:
- Bij - The Zmats to be merged
- Returns:
- The composite Zmat A
- Throws: JampackException
- Thrown if there is a nonconformity.
All Packages Class Hierarchy This Package Previous Next Index