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.3179.0 (4.8.3179.0)
Syntax
C#
public static T[] UniformMap2<T>(
	int length,
	Func<double, double, T> map
)

Parameters

length  Int32

[Missing <param name="length"/> documentation for "M:Altaxo.Calc.Generate.UniformMap2``1(System.Int32,System.Func{System.Double,System.Double,``0})"]

map  FuncDouble, Double, T

[Missing <param name="map"/> documentation for "M:Altaxo.Calc.Generate.UniformMap2``1(System.Int32,System.Func{System.Double,System.Double,``0})"]

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:Altaxo.Calc.Generate.UniformMap2``1(System.Int32,System.Func{System.Double,System.Double,``0})"]

Return Value

T

[Missing <returns> documentation for "M:Altaxo.Calc.Generate.UniformMap2``1(System.Int32,System.Func{System.Double,System.Double,``0})"]

See Also