Language Reference

EXP Function

calculates the exponential

EXP( matrix)

where matrix is a numeric matrix or literal.

The EXP function applies the exponential function to every element of the argument matrix. The exponential is the natural number e raised to the indicated power. An example of a valid statement follows:

  
    b={1 2 3 4}; 
    a=exp(b); 
  
                 A             1 row       4 cols    (numeric) 
  
                   2.7182818  7.3890561 20.085537  54.59815
 

If you want to compute the matrix exponential for some matrix, you can call the EXPMATRIX module in IMLMLIB.

Previous Page | Next Page | Top of Page