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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Format Definition Result<br />

ATAN2( x1, x2)<br />

arctangent of quotient<br />

tan<br />

I and R to R<br />

C to C<br />

1 – ( x1 ⁄ x2)<br />

ATANH(<br />

x)<br />

ATANH2(<br />

x1, x2)<br />

If both arguments are zero, then the result is zero.<br />

If x1 and x2 are real and:<br />

x1 = 0 and x2> 0,<br />

then the result is 0.<br />

x1 = 0 and x2< 0,<br />

then the result is π.<br />

x1> 0 and x2 = 0,<br />

then the result is π ⁄ 2 .<br />

x1< 0 and x2 = 0,<br />

then the result is – π ⁄ 2 .<br />

If x1 and x2 are complex ( x1 = a + bi and x2 = c + di)<br />

and:<br />

a = b = 0 and (sign of c) = (sign of d),<br />

then the result is 0.<br />

a = b = 0 and ( sign of c)<br />

≠ ( sign of d)<br />

, then the result is π.<br />

(sign of a) = (sign of b) and c = d = 0 , then the result is π ⁄ 2 .<br />

( sign of a)<br />

≠ ( sign of b)<br />

and c = d = 0 , then the result is – π ⁄ 2 .<br />

hyperbolic arctangent<br />

hyperbolic arctangent<br />

of quotient<br />

– 1<br />

tanh ( x)<br />

where<br />

– 1 ≤ x ≤1,<br />

if x is I or R<br />

I and R to R<br />

C to C<br />

I and R to R<br />

C to C<br />

For real arguments, the following must be true: x1 > x2 and x2 ≠ 0.<br />

If x1 and x2 are complex ( x1 = a + bi and x2 = c + di)<br />

and:<br />

a = b = 0 and (sign of c) = (sign of d),<br />

then the result is 0.<br />

a = b = 0 and ( sign of c)<br />

≠ ( sign of d)<br />

, then the result is π.<br />

(sign of a) = (sign of b) and c = d = 0 , then the result is π ⁄ 2 .<br />

( sign of a)<br />

≠ ( sign of b)<br />

and c = d = 0 , then the result is – π ⁄ 2 .<br />

Instructions<br />

CHAR( x)<br />

character value See note below. I to A<br />

The function takes the processor collating sequence equivalent (e.g., ASCII or<br />

EBCDIC) of a character and converts it to the character value. The integer value<br />

must be within the range 1 to n – 1 , where n = 2 .<br />

CLEN( c)<br />

character length Character string length in<br />

multiples of 4.<br />

CLOCK( ) CPU time in sec. since<br />

job started<br />

– 1<br />

tanh ( x1 ⁄ x2)<br />

A to I<br />

I<br />

Argument Type<br />

to Result Type<br />

( number of bits per character)<br />

23

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

Saved successfully!

Ooh no, something went wrong!