RandomExtensionsNextUnitTNumeric Method

Definition

Namespace: Jodosoft.Numerics
Assembly: Jodosoft.Numerics (in Jodosoft.Numerics.dll) Version: 2.0
public static UnitN<TNumeric> NextUnit<TNumeric>(
	this Random random
)
where TNumeric : struct, new(), INumeric<TNumeric>

Parameters

random  Random
 

Type Parameters

TNumeric

Return Value

UnitNTNumeric

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Random. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also