Click or drag to resize

GenerateUniformMap2T Method

Generate samples by sampling a function at sample pairs from a probability distribution, uniform between 0 and 1. Faster than other methods but with reduced guarantees on randomness.

Namespace: Altaxo.Calc
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static T[] UniformMap2<T>(
	int length,
	Func<double, double, T> map
)

Parameters

length  Int32
The number of samples to generate.
map  FuncDouble, Double, T
The function to sample.

Type Parameters

T
The type of the generated values.

Return Value

T
The generated samples.
See Also