Click or drag to resize

VectorMathSetValuesT Method

Sets the values of the vector from the provided array.

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static void SetValues<T>(
	this Vector<T> x,
	IReadOnlyList<T> values
)
where T : struct, new(), IEquatable<T>, IFormattable

Parameters

x  VectorT
The vector whose values are to be set.
values  IReadOnlyListT
The array of values to set.

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