IRing Operations<T>.Scale By Power Of Two Method
Scales the specified number by the specified power of two.
Definition
Namespace: Numerics.NET.Generic
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
The product of value and 2 to the power exponent.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
T ScaleByPowerOfTwo(
T value,
int exponent
)
Parameters
Return Value
TThe product of value and 2 to the power exponent.