Click or drag to resize

GenerateLogSpacedMapT Method

Generate samples by sampling a function at base 10 logarithmically spaced points between the specified decade exponents (inclusive).

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

Parameters

length  Int32
The number of samples to generate.
startExponent  Double
The start exponent of the range.
stopExponent  Double
The end exponent of the range.
map  FuncDouble, T
The function to sample.

Type Parameters

T
The type of the generated values.

Return Value

T
The sampled values.
See Also