IRandom Source.Fill Method
Definition
Namespace: Numerics.NET.Random
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.3.0
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.3.0
Overload List
| Fill( | Fills a span with random double-precision floating-point numbers in [0, 1). |
| Fill( | Fills a span with random single-precision floating-point numbers in [0, 1). |
| Fill( | Fills a span with random 32-bit unsigned integer values. |
| Fill( | Fills a span with random 64-bit unsigned integer values. |
Fill(Span<Double>)
Fills a span with random double-precision floating-point numbers in [0, 1).
Fill(Span<Single>)
Fills a span with random single-precision floating-point numbers in [0, 1).
Fill(Span<UInt32>)
Fills a span with random 32-bit unsigned integer values.
Remarks
This method provides efficient bulk generation of random 32-bit values by delegating directly to the underlying generator, avoiding byte-level round-trips.
Fill(Span<UInt64>)
Fills a span with random 64-bit unsigned integer values.
void Fill(
Span<ulong> values
)Parameters
Remarks
This method provides efficient bulk generation of random 64-bit values by delegating directly to the underlying generator, avoiding byte-level round-trips.