exp()

Returns the exponential as an integer, real or complex number

Syntax
exp(x, MaxExpArg)

Name Description Range Type Default Required
x integer, real or complex number (-∞, ∞) integer, real, complex   yes
MaxExpArg maximum value of argument (-∞, 709] integer, real 60 no

Examples

expV = exp(10)
returns 22026.466
exp2V = exp(-0.001)
returns 0.999
exp3V = exp(0.5)
returns 1.649
expCV = exp(0.5+j*0.5)
returns 1.649/28.648

See Also

abs(), int(), log(), log10(), pow(), sgn(), sqrt()

Notes/Equations

The output value is calculated as follows:

exp\(x,\[MaxExpArg\]\) = if \(x<MaxExpArg\) then exp\(x\) else 
\(1\+x-MaxExpArg\)\*exp\(MaxExpArg\)

If you are using Advanced Design System, the MaxExpArg argument can also be set using the Options Component. You can set the MaxExpArg argument in the ADS Options component using the Other parameter as follows:
Other = "MaxExpArg=default-value"

Modification to the exp() function

The exp() simulator expression was modified in order to make symbolically defined device (SDD) modeling more robust. However, the new default behavior can interact and break existing user implementations of soft_exp() or equivalent functions.
For real values, it is now always a soft limited exponential that turns into a linear function above the maximum argument value.
exp(x,[max_arg]) = if (x < max_arg) then exp(x) else (1 + x - max_arg)*exp(max_arg)
It is only continuous to the first derivative. The maximum argument value can be explicitly specified by the optional second argument to the exp() function. If this argument is not provided, it uses a global gCircuit value that can be set by the Options parameter MaxExpArg. The default value for this is 60.0. The MaxExpArg parameter must be entered using the Other = parameter.

 

Privacy Statement  | Terms of Use  | Legal | Contact Us  | © Agilent 2000-2008 

Contents
Additional Resources