Click or drag to resize

GenerateRandomMap2SequenceT Method

Generate a sample sequence by sampling a function at sample pairs from a probability distribution.

Namespace: Altaxo.Calc
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static IEnumerable<T> RandomMap2Sequence<T>(
	IContinuousDistribution distribution,
	Func<double, double, T> map
)

Parameters

distribution  IContinuousDistribution
The probability distribution to sample from.
map  FuncDouble, Double, T
The function to sample.

Type Parameters

T
The type of the generated values.

Return Value

IEnumerableT
The generated sample sequence.
See Also