Reference/exp

From Kx Wiki
(Difference between revisions)
Jump to: navigation, search
(Fixed links)
Line 1: Line 1:
= exp =
+
{{refheader|exp|exp function}}
  
This function computes e<sup>x</sup>, where e is the base of the natural logarithms. Integer arguments are promoted to floating point. Null is returned if the argument is null.
+
This function computes e<sup>x</sup>, where e is the base of the natural logarithms. Null is returned if the argument is null.
  
 
<pre>
 
<pre>

Revision as of 08:52, 28 October 2009

exp (exp function)

This function computes ex, where e is the base of the natural logarithms. Null is returned if the argument is null.

q)exp 1
2.718282
q)exp 0.5
1.648721
q)exp -4.2 0 0w 0.1
0.01499558 1 0w 1.105171

See also


For a complete list of functions, see the kdb+ Function Reference.

Personal tools
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox