Returns the object as a strongly typed vector of the specified type.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
Function As(Of U) As Vector(Of U)
generic<typename U>
Vector<U>^ As()
abstract As : unit -> Vector<'U>
Type Parameters
- U
- The desired element type of the result.
Return Value
Type:
VectorUThe object converted to a vector with elements of type
U.
If the object is a vector whose element type is also U,
the vector is returned without modification. Otherwise, an attempt is made
to convert the elements to the specified type.
Reference