Converts a generic vector to a non-generic vector.
Namespace: Extreme.Mathematics.GenericAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.17114.0)
public static Vector AsDoubleVector(
this Vector<double> vector
)
<ExtensionAttribute>
Public Shared Function AsDoubleVector (
vector As Vector(Of Double)
) As Vector
public:
[ExtensionAttribute]
static Vector^ AsDoubleVector(
Vector<double>^ vector
)
[<ExtensionAttribute>]
static member AsDoubleVector :
vector : Vector<float> -> Vector
Parameters
- vector
- Type: Extreme.Mathematics.GenericVectorDouble
The vector to convert.
Return Value
Type:
VectorA non-generic vector with the same elements as
vector.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
VectorDouble. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
If possible, the generic and non-generic versions will share storage.
Numerical Libraries
Supported in: 5.x
Reference