Exp

From VLECK
Jump to: navigation, search


Returns the value e raised to the power defined by the value given.

Syntax

Result = Exp( Values );

Return Value

Exp returns the value of e raised to the power base all elements of the matrix or structure Values . The return value is a matrix or structure of the same shape as the argument Values . It contains real elements.

Parameters

Values structure or matrix with integer or real values


Example


A=1,2,3;

A=1,2,3;

1 2 3

R=Exp(A);

R=Exp(A);

2.718282 7.389056 20.085537

Example


A=Redim(1#9;3,3) / 10;

A=Redim(1#9;3,3) / 10;

0.100000 0.200000 0.300000

0.400000 0.500000 0.600000

0.700000 0.800000 0.900000

R=Exp(A);

R=Exp(A);

1.105171 1.221403 1.349859

1.491825 1.648721 1.822119

2.013753 2.225541 2.459603