e

Symbol for the base of the natural logarithm.

Syntax

R = e returns a scalar.

R = e(n) returns an n by n matrix.

R = e(m, n)(m, n) returns an m by n matrix.

R = e(d1, d2, ... dN) returns an N dimensional matrix.

R = e([d1, d2, ... dN]) returns an N dimensional matrix.

Inputs

m, n, d1, d2, ..., dN
Dimensions of the matrix to be returned.
Type: integer
Dimension: scalar | vector

Outputs

R
The returned matrix of e values.
Type: double

Examples

Symbol use:
R = e
R = 2.71828183
Scalar input:
R = e(3)
R = [Matrix] 3 x 3
2.71828  2.71828  2.71828
2.71828  2.71828  2.71828
2.71828  2.71828  2.71828
Vector input:
R = e([2,3])
a = [Matrix] 2 x 3
2.71828  2.71828  2.71828
2.71828  2.71828  2.71828