Programmer Guide/Command Reference/EVAL/exp: Difference between revisions

From STX Wiki
Jump to navigationJump to search
m (1 revision: Initial import)
No edit summary
Line 1: Line 1:
{{DISPLAYTITLE:{{SUBPAGENAME}}}}
{{DISPLAYTITLE:{{SUBPAGENAME}}}}
=====exp=====
Exponential function


Exponential function.
;Usage: This function has several usage formats where the evaluation and the type of the result depends on. The table below shows the possible usages.
 
:{|
<code>exp(<var>x</var>)</code>
!usage !! evaluation !! description
 
|-
x -> e ^ x
|'''<code><code>exp(<var>x</var>)</code>'''
 
|r<sub>i,j</sub> = '''e''' ^ x<sub>i,j</sub>
<code>exp(<var>x</var>, <var>y</var>S)</code>
| ''x'' ... any type<br>''r'' same type as ''x''
|-
|'''<code>exp(<var>x</var>, <var>y</var>)</code>
|-
|}


result[i] = yS ^ x[i]
result[i] = yS ^ x[i]
Line 19: Line 23:


result[i] = y[i] ^ x[i]
result[i] = y[i] ^ x[i]
[[Programmer_Guide/Command_Reference/EVAL#Functions|<function list>]]

Revision as of 16:53, 6 April 2011

Exponential function

Usage
This function has several usage formats where the evaluation and the type of the result depends on. The table below shows the possible usages.
usage evaluation description
exp(x) ri,j = e ^ xi,j x ... any type
r same type as x
exp(x, y)

result[i] = yS ^ x[i]

exp(xS, y)

result[i] = y[i] ^ xS

exp(x, y)

result[i] = y[i] ^ x[i]

<function list>

Navigation menu

Personal tools