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.

1257<br />

NORM<br />

Normalize a matrix<br />

NORM Normalize a matrix<br />

To normalize a matrix, each column by its largest element or compute the square root<br />

of the sum of the squares for each row of a matrix (SRSS).<br />

Format:<br />

NORM A/ANORM/S,N,NCOL/S,N,NROW/S,N,XNORM/IOPT/<br />

S,N,XNORMD/PRTSWM $<br />

Input Data Block:<br />

A Any matrix (real or complex).<br />

Output Data Block:<br />

ANORM Normalized matrix.<br />

Parameters:<br />

NCOL Number of columns in A.<br />

NROW Integer-output-default=0. Number of rows in A.<br />

XNORM Real-output-default=0.0. Maximum absolute normalizing value over all<br />

columns.<br />

IOPT Integer-input-default=1. Normalization option.<br />

1 Normalize by largest element<br />

2 Compute SRSS<br />

XNORMD Real double precision-output-default=0.D0. Same as XNORM except in<br />

double precision.<br />

PRTSWM Logical-input-default=TRUE. If PRTSUM=FALSE, System Warning<br />

Message 6991 is suppressed. This message is printed when the<br />

maximum term exceeds the single precision limit for the machine type.<br />

When it is TRUE the message is printed.<br />

Remarks:<br />

1. If IOPT=1 then ANORM is the same as A except each column has been<br />

normalized by its maximum absolute value.<br />

2. If IOPT=2 then ANORM is a column vector where the i-th row is the sum of the<br />

magnitudes of the terms in the i-th row of A.

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

Saved successfully!

Ooh no, something went wrong!