*MFUN

*MFUN, ParR, Func, Par1
Copies or transposes an array parameter matrix.

Compatible Products: – | Pro | Premium | Enterprise | Ent PP | Ent Solver | DYNA

Argument Descriptions

ParR

The name of the resulting array parameter matrix. See *SET for name restrictions.

Func

Copy or transpose function:

COPY -- 

Par1 is copied to ParR

TRAN -- 

Par1 is transposed to ParR. Rows (m) and columns (n) of Par1 matrix are transposed to resulting ParR matrix of shape (n,m).

Par1

Array parameter matrix input to the operation.

Notes

Operates on one input array parameter matrix and produces one output array parameter matrix according to:

ParR = f(Par1)

where the function (f) is either a copy or transpose, as described above.

Functions are based on the standard FORTRAN definitions where possible. ParR may be the same as Par1. Starting array element numbers must be defined for each array parameter matrix if it does not start at the first location. For example, *MFUN,A(1,5),COPY,B(2,3) copies matrix B (starting at element (2,3)) to matrix A (starting at element (1,5)). The diagonal corner elements for each submatrix must be defined: the upper left corner by the array starting element (on this command), the lower right corner by the current values from the *VCOL and *VLEN commands. The default values are the (1,1) element and the last element in the matrix. No operations progress across matrix planes (in the 3rd dimension). Absolute values and scale factors may be applied to all parameters [*VABS, *VFACT]. Results may be cumulative [*VCUM]. Array elements should not be skipped with the *VMASK and the NINC value of the *VLEN specifications. The number of rows [*VLEN] applies to the Par1 array. See the *VOPER command for details.

This command is valid in any processor.

Menu Paths

Utility Menu>Parameters>Array Operations>Matrix Functions

Release 18.2 - © ANSYS, Inc. All rights reserved.