22.01.2015 Views

HDevelop User's Manual

HDevelop User's Manual

HDevelop User's Manual

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.

74 CHAPTER 3. LANGUAGE<br />

of the operands is ØÖÙ (1). Ð ÜÓÖ Ð return ØÖÙ (1) if exactly one of both operands is true.<br />

ÒÓØ Ð returns ØÖÙ (1) if the input is Ð× (0), and Ð× (0), if the input is ØÖÙ (1).<br />

3.5.10 Trigonometric Functions<br />

All these functions work on tuples of numbers as arguments. The input can either be of type<br />

ÒØÖ or ÖÐ. However, the resulting type will be of type ÖÐ. The functions are applied<br />

to all tuple values and the resulting tuple has the same length as the input tuple. For ØÒ¾<br />

the two input tuples have to be of equal length. Table 3.15 shows the provided trigonometric<br />

×Ò´µ sine of <br />

Ó×´µ cosine of <br />

ØÒ´µ tangent of <br />

×Ò´µ arc sine of in the intervall [ ¾¾℄, ¾ ½ ½]<br />

Ó×´µ arc cosine in the intervall [ ¾¾℄, ¾ ½ ½]<br />

ØÒ´µ arc tangent in the intervall [ ¾¾℄, ¾ ½ ½]<br />

ØÒ¾´¸µ arc tangent / in the intervall [ ℄<br />

×Ò´µ hyperbolic sine of <br />

Ó×´µ hyperbolic cosine of <br />

ØÒ´µ hyperbolic tangent of <br />

Table 3.15: Trigonometric functions<br />

functions. For the trigonometric functions the angle is specified in radians.<br />

3.5.11 Exponential Functions<br />

All these functions work on tuples of numbers as arguments. The input can either be of type<br />

ÒØÖ or ÖÐ. However, the resulting type will be of type ÖÐ. The functions are applied<br />

to all tuple values and the resulting tuple has the same length as the input tuple. For ÔÓÛ<br />

and ÐÜÔ the two input tuples have to be of equal length. Table 3.16 shows the provided<br />

ÜÔ´µ<br />

ÐÓ´µ<br />

ÐÓ½¼´µ<br />

ÔÓÛ´½¸¾µ<br />

ÐÜÔ´½¸¾µ<br />

exponential function <br />

natural logarithm ÐÒ´µ, ¼<br />

decadic logarithm, ÐÓ ½¼´µ, ¼<br />

½ ¾<br />

½ ¡¾ ¾<br />

Table 3.16: Exponential functions<br />

exponential functions.<br />

3.5.12 Numerical Functions<br />

The functions ÑÒ and ÑÜ select the minimum and the maximum values of the tuple values.<br />

All values either have to be of type ×ØÖÒ, orÒØÖ/ÖÐ. It is not allowed to mix strings<br />

<strong>HDevelop</strong> / 2000-11-16

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

Saved successfully!

Ooh no, something went wrong!