11.01.2013 Views

NX Nastran DMAP Programmer's Guide - Kxcad.net

NX Nastran DMAP Programmer's Guide - Kxcad.net

NX Nastran DMAP Programmer's Guide - Kxcad.net

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

1223<br />

MPYAD<br />

Matrix multiply and add<br />

MPYAD Matrix multiply and add<br />

Perform the multiplication of two matrices and optionally, the addition of a third<br />

matrix to the product.<br />

Format:<br />

MPYAD A,B,C/X/T/SIGNAB/SIGNC/PREC/FORM $<br />

Input Data Blocks:<br />

A Left-hand matrix in the matrix product.<br />

B Right-hand matrix in the matrix product.<br />

C Matrix to be added to the product.<br />

Output Data Block:<br />

X Matrix product.<br />

Parameters:<br />

T Integer-input-default = 0. Transpose flag.<br />

T = 1, perform<br />

T = 0, perform<br />

SIGNAB Integer-input-default = 1. Sign of product flag.<br />

SIGNAB = +1, perform<br />

SIGNAB = -1, perform<br />

SIGNC Integer-input-default = 1. Sign of [ C]<br />

flag.<br />

SIGNC = +1, add<br />

SIGNC = -1, subtract<br />

[ X]<br />

[ A]<br />

T<br />

= ± [ B]<br />

± [ C]<br />

[ A]<br />

T [ B]<br />

[ A]<br />

[ B]<br />

[ C]<br />

[ A]<br />

[ B]<br />

– [ A]<br />

[ B]<br />

[ C]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!