remove#
- MatrixOperations.remove(name='', val1='', val2='', val3='', **kwargs)#
Suppresses rows or columns of a dense matrix or a vector.
Mechanical APDL Command: *REMOVE
- Parameters:
Notes
Warning
This function contains specificities regarding the argument definitions. Please refer to the command documentation for further explanations.
Argument Descriptions
name : str- Name of the matrix or vector to be revised.val1, val2, val3 : str- Additional input. The meaning ofVal1toVal3varies depending on the entity type (matrix or vector). See details below.
The following
Val1throughVal3fields are used ifNamerefers to a dense matrix created by the dmat command:val1 : str- First row or column number to suppress.val2 : str- Last row or column number to suppress.val3 : str- Specifies what to remove:COL- Remove columns of the matrix (default).ROW- Remove rows of the matrix.
The following
Val1andVal2fields are used ifNamerefers to a vector created by the vec command:val1 : str- First value index to suppress.val2 : str- Last value index to suppress.
The values of the original matrix or vector specified by
Nameare retained. The matrix or vector is resized to the new number of rows and columns.