EXP
(matrix) ;
The EXP function applies the exponential function to every element of the argument matrix. The exponential is the natural number raised to the indicated power. For example, the following statements compute the exponentials of several numbers:
b = {1 2 3 4}; a = exp(b); print a;
Figure 23.110: Exponential of Several Numbers
a | |||
---|---|---|---|
2.7182818 | 7.3890561 | 20.085537 | 54.59815 |
If you want to compute the exponential of a matrix, you can call the EXPMATRIX module in the IMLMLIB library.