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.

26<br />

Instructions<br />

Format Definition Result<br />

IMAG( x)<br />

imaginary part b, for x = a + ib<br />

I,R,C to R<br />

For integer arguments, the result is zero. Results are single precision real.<br />

For real arguments, the result is zero. Resultant precision is the same as the<br />

argument.<br />

For complex numbers, the result is the imaginary component, with precision<br />

equal to that of the argument.<br />

IMPL(,) xy numeric implication I,R,C to L<br />

The result is FALSE if the first argument is negative and the second is positive<br />

or zero. The result is true otherwise.<br />

INDEX( a1, a2)<br />

start position of a2 in<br />

a1<br />

2 = INDEX(’ABC’,’B’) A to I<br />

INDEXSTR start position of a2<br />

( a1, a2, x1, x2)<br />

from x1 to x2 in a1<br />

The result is zero if the second string is not found in the first string.<br />

A,I to I<br />

Arguments 1 and 2 must be character strings.<br />

Arguments 3 and 4 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.<br />

If the 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.<br />

The larger string subscript value becomes the upper substring subscript.<br />

The result is zero if the second string is not found in the substring of the first<br />

string.<br />

INT( x)<br />

type to I largest integer in abs ( x)<br />

with<br />

sign of x<br />

I,R,C to I<br />

For complex arguments the function is applied to the real component.<br />

ITOL( x)<br />

type to L TRUE, if x < 0<br />

FALSE, if x ≥ 0<br />

LEQ(<br />

a1, a2)<br />

lexical<br />

TRUE, if a1 = a2<br />

equality<br />

FALSE otherwise<br />

LGE(<br />

a1, a2)<br />

lexical greater<br />

TRUE, if a1 ≥ a2<br />

than or equal to<br />

FALSE, if a1 < a2<br />

LGT(<br />

a1, a2)<br />

lexical greater<br />

TRUE, if a1 > a2<br />

than<br />

FALSE, if a1 ≤ a2<br />

LLE(<br />

a1, a2)<br />

lexical less<br />

TRUE, if a1 ≤<br />

a2<br />

than or equal<br />

FALSE otherwise<br />

Argument Type<br />

to Result Type<br />

I,R to L<br />

A to L<br />

A to L<br />

A to L<br />

A to L

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

Saved successfully!

Ooh no, something went wrong!