IRingOperations<T>.ScaleByPowerOfTwo 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#
T ScaleByPowerOfTwo(
	T value,
	int exponent
)

Parameters

value  T
A number.
exponent  Int32
The power of two.

Return Value

T
The product of value and 2 to the power exponent.

See Also