ansys.mapdl.core.Mapdl.remove#
- Mapdl.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 ofVal1
toVal3
varies depending on the entity type (matrix or vector). See details below.
The following
Val1
throughVal3
fields are used ifName
refers 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
Val1
andVal2
fields are used ifName
refers 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
Name
are retained. The matrix or vector is resized to the new number of rows and columns.