RObject.To Vector<T> Method
Converts the object to a vector with the specified element type.
Definition
Namespace: Numerics.NET.Data.R
Assembly: Numerics.NET.Data (in Numerics.NET.Data.dll) Version: 4.0.3
C#
The new vector.
Assembly: Numerics.NET.Data (in Numerics.NET.Data.dll) Version: 4.0.3
public virtual Vector<T> ToVector<T>(
bool strict = true
)
Parameters
- strict Boolean (Optional)
- Specifies whether the element type should be matched exactly (true), or whether conversions are allowed (false).
Type Parameters
- T
- The element type of the vector
Return Value
Vector<T>The new vector.