Jampack
Class Merge
- java.lang.Object
-
- Jampack.Merge
-
public class Merge extends java.lang.ObjectMerge 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.
-
-
Constructor Summary
Constructors Constructor and Description Merge()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static Zmato(Zmat[][] B)Merges the matrices in an array of Zmatsstatic Zmato12(Zmat B00, Zmat B01)Merges its arguments to create the Zmatstatic Zmato13(Zmat B00, Zmat B01, Zmat B02)Merges its arguments to create the Zmatstatic Zmato21(Zmat B00, Zmat B10)Merges its arguments to create the Zmatstatic Zmato22(Zmat B00, Zmat B01, Zmat B10, Zmat B11)Merges its arguments to create the matrixstatic Zmato23(Zmat B00, Zmat B01, Zmat B02, Zmat B10, Zmat B11, Zmat B12)Merges its arguments to create the Zmatstatic Zmato31(Zmat B00, Zmat B10, Zmat B20)Merges its arguments to create the Zmatstatic Zmato32(Zmat B00, Zmat B01, Zmat B10, Zmat B11, Zmat B20, Zmat B21)Merges its arguments to create the Zmatstatic Zmato33(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
-
-
-
Method Detail
-
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 ZmatA = | 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 ZmatA = | 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 matrixA = | 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 ZmatA = | 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 ZmatA = | 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 ZmatA = | 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 ZmatA = | 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 ZmatA = | 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.
-
-
DMelt 3.0 © DataMelt by jWork.ORG