MathNExpTNumeric Method
Returns e raised to the specified power.
Namespace: Jodosoft.NumericsAssembly: Jodosoft.Numerics (in Jodosoft.Numerics.dll) Version: 2.0
public static TNumeric Exp<TNumeric>(
TNumeric x
)
where TNumeric : struct, new(), INumeric<TNumeric>
Public Shared Function Exp(Of TNumeric As {Structure, New, INumeric(Of TNumeric)}) (
x As TNumeric
) As TNumeric
public:
generic<typename TNumeric>
where TNumeric : value class, gcnew(), INumeric<TNumeric>
static TNumeric Exp(
TNumeric x
)
static member Exp :
x : 'TNumeric -> 'TNumeric when 'TNumeric : struct, new() and INumeric<'TNumeric>
- x TNumeric
- A number specifying a power.
- TNumeric
TNumericThe number
e raised to the power
x.
This method may return
NaN or Infinity.
If
NaN or Infinity cannot be represented by
TNumeric,
then this method may throw an
ArithmeticException.