Constructs a new vector with elements from the specified range..
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static DenseVector<T> CreateRange<T>(
T start,
T stop,
ArrayMutability mutability = ArrayMutability.Immutable
)
Public Shared Function CreateRange(Of T) (
start As T,
stop As T,
Optional mutability As ArrayMutability = ArrayMutability.Immutable
) As DenseVector(Of T)
public:
generic<typename T>
static DenseVector<T>^ CreateRange(
T start,
T stop,
ArrayMutability mutability = ArrayMutability::Immutable
)
static member CreateRange :
start : 'T *
stop : 'T *
?mutability : ArrayMutability
(* Defaults:
let _mutability = defaultArg mutability ArrayMutability.Immutable
*)
-> DenseVector<'T>
Parameters
- start
- Type: T
The first value in the range. - stop
- Type: T
The (inclusive) 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