Programmer Guide/Command Reference/EVAL/exp: Difference between revisions
From STX Wiki
< Programmer Guide | Command Reference | EVAL
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 28: | Line 28: | ||
|} | |} | ||
:Note: The [[../#Operators|operator prefix '?']] combined with the [[../#Operators|power operator '^']] can be used instead of this function. | :Note: The [[../#Operators|operator prefix '?']] combined with the [[../#Operators|power operator '^']] can be used instead of this function. | ||
;See also: [[../log|log]] | ;See also: [[../log|log, ln, lg]], [[../lin2log|lin2log, log2lin | ||
[[../#Functions|<function list>]] | [[../#Functions|<function list>]] |
Revision as of 10:38, 21 April 2011
Exponential function
- Usage
- This function has several usage formats where the evaluation and the type of the result r depends on. The table below shows the possible usages and data types.
usage evaluation data type of arguments data type of result r exp(x)
ri,j = e ^ xi,j x can be any type same type as x exp(x, yS)
ri,j = yS ^ xi,j x can be any type
yS must be a scalarsame type as x exp(xS, y)
ri,j = yi,j ^ xS xS must be a scalar
y can be any typesame type as y exp(x, y)
ri,j = yi,j ^ xi,j x must be a vector or matrix
y must have the same type as xsame type as x and y
- Note: The operator prefix '?' combined with the power operator '^' can be used instead of this function.
- See also
- log, ln, lg, [[Programmer Guide/Command Reference/EVAL/lin2log|lin2log, log2lin