- Mapdl.init(name='', method='', val1='', val2='', val3='', **kwargs)¶
Initializes a vector or dense matrix.
Vector or matrix which will be initialized. This can be a vector (created by the
*VECcommand) or a dense matrix (created by the
Initialization method to use:
Fill the vector/matrix with zeros (default). - Fill the vector/matrix with a constant value.
- Fill the vector/matrix with random values. - Fill the nth diagonal of the matrix with a constant value. Other values are not
- val1, val2, val3
Additional input. The meaning of Val1 through Val3 will vary depending on the specified Method. See details below.
This command initializes a previously defined vector (
*VEC) or dense matrix (