Joins two vectors.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Vector<T> Join<T>(
this Vector<T> first,
Vector<T> second
)
<ExtensionAttribute>
Public Shared Function Join(Of T) (
first As Vector(Of T),
second As Vector(Of T)
) As Vector(Of T)
public:
[ExtensionAttribute]
generic<typename T>
static Vector<T>^ Join(
Vector<T>^ first,
Vector<T>^ second
)
[<ExtensionAttribute>]
static member Join :
first : Vector<'T> *
second : Vector<'T> -> Vector<'T>
Parameters
- first
- Type: Extreme.MathematicsVectorT
A VectorT that contains the lower index components. - second
- Type: Extreme.MathematicsVectorT
A VectorT that contains the higher index components.
Type Parameters
- T
Return Value
Type:
VectorTA
VectorT that contains the components of
first
followed by the components of
second.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
VectorT. 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 a vector is
, it is treated as a vector of length zero.
Reference