GenerateLinearSpacedMapT Method |
Generate samples by sampling a function at linearly spaced points between the specified values (inclusive).
Namespace: Altaxo.CalcAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static T[] LinearSpacedMap<T>(
int length,
double start,
double stop,
Func<double, T> map
)
Parameters
- length Int32
- The number of samples to generate.
- start Double
- The start value of the range.
- stop Double
- The end value of the range.
- map FuncDouble, T
- The function to sample.
Type Parameters
- T
- The type of the generated values.
Return Value
TThe sampled values.
See Also