Array Functions<T>.Set Value Method
Definition
Namespace: Numerics.NET.LinearAlgebra.Implementation
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Overload List
Set | Sets all elements in the span to the specified value. |
Set | Sets all elements in the span to the specified value. |
Set | Sets all elements in the array to the specified value. |
SetValue(Int32, T, SpanSlice<T>)
Sets all elements in the span to the specified value.
public void SetValue(
int length,
T value,
SpanSlice<T> operand
)
Parameters
SetValue<TStorage>(Int32, T, TStorage)
Sets all elements in the array to the specified value.
public void SetValue<TStorage>(
int length,
T value,
TStorage result
)
where TStorage : Object, IStorageSlice<T>
Parameters
- length Int32
- The number of elements in the array.
- value T
- The value to assign to each element.
- result TStorage
- The array that holds the results.
Type Parameters
- TStorage
SetValue(Int32, T, Span<T>, Int32)
Sets all elements in the span to the specified value.
public virtual void SetValue(
int length,
T value,
Span<T> operand,
int stride
)