Table of Contents

Method UniformRandomFloat

Namespace
Gamelogic.Extensions.Algorithms
Assembly
Gamelogic.Extensions.dll

UniformRandomFloat()

Makes a generator hat generates floats uniformly between 0 and 1.

public static IGenerator<float> UniformRandomFloat()

Returns

IGenerator<float>

A new generator.

UniformRandomFloat(int)

Makes a generator that generates floats uniformly between 0 and 1.

public static IGenerator<float> UniformRandomFloat(int seed)

Parameters

seed int

Returns

IGenerator<float>

A new generator.