Aligns two vectors along their indexes.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static IIndex Align<T, U>(
ref Vector<T> first,
ref Vector<U> second,
JoinType joinType
)
Public Shared Function Align(Of T, U) (
ByRef first As Vector(Of T),
ByRef second As Vector(Of U),
joinType As JoinType
) As IIndex
public:
generic<typename T, typename U>
static IIndex^ Align(
Vector<T>^% first,
Vector<U>^% second,
JoinType joinType
)
static member Align :
first : Vector<'T> byref *
second : Vector<'U> byref *
joinType : JoinType -> IIndex
Parameters
- first
- Type: Extreme.MathematicsVectorT
The first vector to align. On return
the vector aligned to the combined index. - second
- Type: Extreme.MathematicsVectorU
The first vector to align. On return
the vector aligned to the combined index. - joinType
- Type: Extreme.DataAnalysisJoinType
The type of join to use when joining the indexes.
Type Parameters
- T
- The element type of the first vector.
- U
- The element type of the second vector.
Return Value
Type:
IIndexThe combined index.
Reference