*MULT

*MULT, M1, T1, M2, T2, M3
Performs the matrix multiplication M3 = M1(T1)*M2(T2).

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

Argument Descriptions

M1

Name of matrix M1. Must have been previously specified by a *DMAT or *SMAT command.

T1

Transpose key. Set T1 = TRANS to use the transpose of M1. If blank, transpose will not be used.

M2

Name of matrix M2. Must have been previously specified by a *DMAT command.

T2

Transpose key. Set T2 = TRANS to use the transpose of M2. If blank, transpose will not be used.

M3

Name of resulting matrix, M3. Must be specified.

Notes

The matrices must be dimensionally consistent such that the number of columns of M1 (or the transposed matrix, if requested) is equal to the number of rows of M2 (or the transposed matrix, if requested).

You cannot multiply two sparse matrices with this command (that is, M1 and M2 cannot both be sparse). The resulting matrix, M3, will always be a dense matrix, no matter what combination of input matrices is used (dense*sparse, sparse*dense, or dense*dense).

Menu Paths

This command cannot be accessed from a menu.

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