x | : | real |
y | : | array(array(real)) (a square matrix) |
Returns: real or array(array(real))
Synopsis: This function computes the exponential ex if the parameter is a single real value. Otherwise, it computes eyi,j for each entry of the square matrix y.
Examples:
> exp(5); > exp([[1, 2], [3, 4]]);