Constructs a new vector with elements from 0 up to the specified value.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static DenseVector<T> CreateRange<T>(
T stop,
ArrayMutability mutability = ArrayMutability.Immutable
)
Public Shared Function CreateRange(Of T) (
stop As T,
Optional mutability As ArrayMutability = ArrayMutability.Immutable
) As DenseVector(Of T)
public:
generic<typename T>
static DenseVector<T>^ CreateRange(
T stop,
ArrayMutability mutability = ArrayMutability::Immutable
)
static member CreateRange :
stop : 'T *
?mutability : ArrayMutability
(* Defaults:
let _mutability = defaultArg mutability ArrayMutability.Immutable
*)
-> DenseVector<'T>
Parameters
- stop
- Type: T
The upper bound for the range. - mutability (Optional)
- Type: Extreme.MathematicsArrayMutability
Specifies how the vector's values may be changed.
The default is mutable values.
Type Parameters
- T
Return Value
Type:
DenseVectorTA
DenseVectorT.
Reference