Click or drag to resize
Accord.NET (logo)

TaylorExp Method

Returns e raised to the specified power by evaluating a Taylor series.

Namespace:  Accord.Math
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public static double Exp(
	double d,
	int nTerms
)
Request Example View Source

Parameters

d
Type: SystemDouble
A number specifying a power.
nTerms
Type: SystemInt32
The number of terms to be evaluated.

Return Value

Type: Double
Euler's constant raised to the specified power d.
See Also