CreateVectorDenseT(Int32, T) Method |
Create a new dense vector and initialize each value using the provided value.
Namespace: Altaxo.Calc.LinearAlgebraAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static Vector<T> Dense<T>(
int length,
T value
)
where T : struct, new(), IEquatable<T>, IFormattable
Parameters
- length Int32
- The length of the vector to create.
- value T
- The value assigned to each entry.
Type Parameters
- T
- The element type of the vector.
Return Value
VectorTThe created vector.
See Also