List Vector<T>.Set Value Method
Definition
Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.2.0
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.2.0
Overload List
| Set | Sets all the elements of the vector to the specified value. |
| Set | Sets the list at the specified index. |
| Set | Sets the value at the specified key value. |
SetValue(IReadOnlyList<T>, Int32)
Sets the list at the specified index.
public override void SetValue(
IReadOnlyList<T> value,
int index
)Parameters
- value IReadOnlyList<T>
- The list to set.
- index Int32
- The zero-based index.
Remarks
This operation is not supported for ListVector<T> because the structure (list boundaries) is immutable. Use GetSpan(Int32) to modify individual elements within a list.
Exceptions
| Not | Always thrown. |