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.

Format Definition Result<br />

Instructions<br />

SPROD(x1,x2) single prec product x1 ∗ x2<br />

RD to RS, CD to CS<br />

The results are real single if both arguments are real double and complex single<br />

if at least one of the arguments is complex double.<br />

SQRT(x) square root<br />

x<br />

I,R to R, C to C<br />

SUBSTRIN<br />

(A,x1,x2)<br />

If the value of integer or real arguments is less than 0, then an error results.<br />

For complex arguments the principal square root is returned. That is, the first<br />

component is always greater than or equal to 0.<br />

substring SUBSTRIN<br />

( ′ABC′ , 2, 3)<br />

→<br />

′BC′<br />

x1,x2 may be I, R or C<br />

Return substring of first argument with length of ABS(x2-x1)+1.<br />

Arguments 2 and 3 must be numeric values. Prior to use as substring subscripts,<br />

both arguments are converted to integers and checked for range of 1 to 80. If the<br />

lower string subscript is less than 1, it is changed to 1. If the upper string<br />

subscript is greater than 80, it is changed to 80. The larger string subscript value<br />

becomes the upper substring subscript.<br />

TAN(x) tangent tan(x) I,R to R, C to C<br />

TANH(x) hyperbolic tangent tanh(x) I,R to R, C to C<br />

TIMETOGO() remaining CPU Time returns I<br />

Returns the remaining CPU time in integer seconds. Time remaining is found<br />

by subtracting the current CPU time from the value on the TIME executive<br />

control statement.<br />

WLEN(x) VPS word length Returns VPS word length of<br />

argument<br />

A,I,R,C,L to I<br />

Returns VPS word length of argument. Constant for all types, except character<br />

data that ranges from 1-20.<br />

XORL(x1,x2) numeric exclusive OR TRUE, if x1 or x2

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

Saved successfully!

Ooh no, something went wrong!