Merges current matrix with another and returns the result.
Syntax
MatrixObject.Merge(Matrix2, MergeMode)
Return Value
A matrix object reference that contains the result of merging.
Parameters
- Matrix2
- The matrix you wish to merge with current matrix.
- MergeMode
- Optional. A MergeModeEnum constant specifying the merge mode..
-
The following table describes the possible values for the MergeMode
parameter.
| Constant |
Description |
Value |
| bmMergeVertically |
Merges the matrices vertically. |
1 |
| bmMergeHorizontally |
(Default) Merges the matrices horizontally. |
2 |
Remarks
It is possible to use Merge method with matrices of different size. In this
case the dimensions of the returned matrix are adjusted according to the
bigger matrix and missing elements are replaced with zeros.
See Also
TimesScalar Method
Applies To: Matrix | CMatrix