Aligns two vectors along their indexes using the default join type.
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
)
Public Shared Function Align(Of T, U) (
ByRef first As Vector(Of T),
ByRef second As Vector(Of U)
) As IIndex
public:
generic<typename T, typename U>
static IIndex^ Align(
Vector<T>^% first,
Vector<U>^% second
)
static member Align :
first : Vector<'T> byref *
second : Vector<'U> byref -> 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 second vector to align. On return
the vector aligned to the combined index.
Type Parameters
- T
- The element type of the first vector.
- U
- The element type of the second vector.
Return Value
Type:
IIndexThe combined index.
The type specified by
AutoAlignJoinType
is used to join the indexes.
Reference