Click or drag to resize

GenerateRandomMapT Method

Generate samples by sampling a function at samples from a probability distribution.

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

Parameters

length  Int32

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

distribution  IContinuousDistribution

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

map  FuncDouble, T

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

Type Parameters

T

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

Return Value

T

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

See Also