Scalar Generator 64<TEngine>.Fill Method
Definition
Namespace: Numerics.NET.Random.Generators
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 the specified span with random double-precision floating-point numbers. |
| Fill( | Fills the specified span with random single-precision floating-point numbers. |
| Fill( | Fills the specified span with random 32-bit unsigned integers. |
| Fill( | Fills the specified span with random 64-bit unsigned integers. |
Fill(Span<Double>)
Fills the specified span with random double-precision floating-point numbers.
public void Fill(
Span<double> destination
)Parameters
Implements
IRandomGenerator.Fill(Span<Double>)Remarks
This method is equivalent to repeatedly calling NextDouble() for each element, but implementations may optimize for bulk generation.
Fill(Span<Single>)
Fills the specified span with random single-precision floating-point numbers.
public void Fill(
Span<float> destination
)Parameters
Implements
IRandomGenerator.Fill(Span<Single>)Remarks
This method is equivalent to repeatedly calling NextSingle() for each element, but implementations may optimize for bulk generation.
Fill(Span<UInt32>)
Fills the specified span with random 32-bit unsigned integers.
public void Fill(
Span<uint> destination
)Parameters
Implements
IRandomGenerator.Fill(Span<UInt32>)Remarks
This method is equivalent to repeatedly calling NextUInt32() for each element, but implementations may optimize for bulk generation.
Fill(Span<UInt64>)
Fills the specified span with random 64-bit unsigned integers.
public void Fill(
Span<ulong> destination
)Parameters
Implements
IRandomGenerator.Fill(Span<UInt64>)Remarks
This method is equivalent to repeatedly calling NextUInt64() for each element, but implementations may optimize for bulk generation.