ansys.mapdl.core.Mapdl.scal#
- Mapdl.scal(name='', val1='', val2='', **kwargs)#
Scales a vector or matrix by a constant.
Mechanical APDL Command: *SCAL
- 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 used to identify the vector or matrix to be scaled. Must be specified.val1 : str
- The real part of the constant to use (default = 1).val2 : str
- The imaginary part of the constant to use (default = 0). This value is used only if the vector or matrix specified byName
is complex.
This command can be applied to vectors and matrices created by the vec, dmat and smat commands.