|
expt
|
The expt function will compute the exponential of the two arguments. The first argument
{base} is raised to the value of the second argument {n}. Expressed as a
formula the expt function performs the following: base When to use The expt function is used to raise a number, base, to the power, exponent,
where one or both arguments are complex. Do not use if immediate types, such as real
numbers, would suffice.
(expt base n) A complex number holding base to the exponent power.
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
The value of expt for of a variety of complex numbers is shown.
The first double shown is the real part of the result. The second number shown is
the imaginary part of the result.
Here are the links to the data types of the function arguments. Here are also a number of links to functions having arguments with any of these data types.
You can always talk with the AIS at aiserver.sourceforge.net.
Name
Description
AIS Types base The number to be raised to the nth power Number n The power n. Integer
Returns:
Examples
Argument Types
Number
How do I contact the AIS team?