Create an array with each field set to the same value.
Namespace: Altaxo.CalcAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static T[] Repeat<T>(
int length,
T value
)
Parameters
- length Int32
- The number of samples to generate.
- value T
- The value that each field should be set to.
Type Parameters
- T
- The type of the generated values.
Return Value
TThe generated array.
See Also