Sfc64 Constructor

Definition

Namespace: Numerics.NET.Random
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.3.0

Overload List

Sfc64() Initializes a new instance of the Sfc64 class using OS entropy.
Sfc64(RandomOptions) Initializes a new instance of the Sfc64 class with the specified options.
Sfc64(ReadOnlySpan<Byte>) Initializes a new instance of the Sfc64 class from saved state.
Sfc64(Int64, SeedProfile) Initializes a new instance of the Sfc64 class with the specified seed.
Sfc64(ReadOnlySpan<UInt64>, SeedProfile) Initializes a new instance of the Sfc64 class with the specified seed array.
Sfc64(Int64, StreamAddress, SeedProfile) Initializes a new instance of the Sfc64 class with the specified seed.
Sfc64(ReadOnlySpan<UInt64>, StreamAddress, SeedProfile) Initializes a new instance of the Sfc64 class with the specified seed array.
Sfc64(UInt64, UInt64, UInt64, UInt64) Initializes a new instance of the Sfc64 class with direct state initialization.

Sfc64

Initializes a new instance of the Sfc64 class using OS entropy.
C#
public Sfc64()

Sfc64(RandomOptions)

Initializes a new instance of the Sfc64 class with the specified options.
C#
public Sfc64(
	RandomOptions options
)

Parameters

options  RandomOptions
 

Sfc64(ReadOnlySpan<Byte>)

Initializes a new instance of the Sfc64 class from saved state.
C#
public Sfc64(
	ReadOnlySpan<byte> state
)

Parameters

state  ReadOnlySpan<Byte>
 

Sfc64(Int64, SeedProfile)

Initializes a new instance of the Sfc64 class with the specified seed.
C#
public Sfc64(
	long seed,
	SeedProfile seedProfile
)

Parameters

seed  Int64
 
seedProfile  SeedProfile
 

Sfc64(ReadOnlySpan<UInt64>, SeedProfile)

Initializes a new instance of the Sfc64 class with the specified seed array.
C#
public Sfc64(
	ReadOnlySpan<ulong> seedMaterial,
	SeedProfile seedProfile = SeedProfile.Default
)

Parameters

seedMaterial  ReadOnlySpan<UInt64>
 
seedProfile  SeedProfile  (Optional)
 

Sfc64(Int64, StreamAddress, SeedProfile)

Initializes a new instance of the Sfc64 class with the specified seed.
C#
public Sfc64(
	long seed,
	StreamAddress streamAddress = default,
	SeedProfile seedProfile = SeedProfile.Default
)

Parameters

seed  Int64
 
streamAddress  StreamAddress  (Optional)
 
seedProfile  SeedProfile  (Optional)
 

Sfc64(ReadOnlySpan<UInt64>, StreamAddress, SeedProfile)

Initializes a new instance of the Sfc64 class with the specified seed array.
C#
public Sfc64(
	ReadOnlySpan<ulong> seedMaterial,
	StreamAddress streamAddress,
	SeedProfile seedProfile = SeedProfile.Default
)

Parameters

seedMaterial  ReadOnlySpan<UInt64>
 
streamAddress  StreamAddress
 
seedProfile  SeedProfile  (Optional)
 

Sfc64(UInt64, UInt64, UInt64, UInt64)

Initializes a new instance of the Sfc64 class with direct state initialization.
C#
public Sfc64(
	ulong s0,
	ulong s1,
	ulong s2,
	ulong counter
)

Parameters

s0  UInt64
First state word.
s1  UInt64
Second state word.
s2  UInt64
Third state word.
counter  UInt64
Counter value.

Remarks

This constructor directly sets the internal state and counter, matching the canonical SFC64 initialization.

See Also