- Mapdl.merge(name1='', name2='', val1='', val2='', **kwargs)#
Merges two dense matrices or vectors into one.
Name of the matrix or vector to extend.
Name of the matrix or vector to be merged into
name1refers to a dense matrix created by the
*DMATcommand then the column or row number indicating where the new values are to be inserted into the Name1 matrix.
name` refers to a vector created by ``*VECthen this is the row number indicating where the new values are to be inserted into the
Specifies how the
name2matrix or vector is copied into the
"COL": Insert the new values at the column location specified by
"row": Insert the new values at the row location specified by
mergecan be used to add new columns or rows to a dense matrix that was created by the
*DMATcommand. In this case,
name1must be the name of the dense matrix and
name2must refer to a vector or another dense matrix.
*MERGEcan also be used to add new rows to a vector that was
created by the
*VECcommand. In this case,
name2must both refer to vectors.
In all cases, the values of the original matrix or vector are retained, and the matrix or vector is resized to accommodate the additional rows or columns.