VectorMathFillWithT(VectorT, T) Method |
Fills the vector with the specified value.
Namespace: Altaxo.Calc.LinearAlgebraAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static void FillWith<T>(
this Vector<T> x,
T value
)
where T : struct, new(), IEquatable<T>, IFormattable
Parameters
- x VectorT
- The vector to be filled.
- value T
- The value to fill the vector with.
Type Parameters
- T
- The type of the vector elements.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
VectorT. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also