ILNumerics Ultimate VS

ILMathconcatT, LocalT, InT, OutT, RetT, StorageT Method

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Create new array with the elements of A and B concatenated along dimension dim.

[ILNumerics Computing Engine]

Namespace:  ILNumerics
Assembly:  ILNumerics.Computing (in ILNumerics.Computing.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax

public static RetT concat<T, LocalT, InT, OutT, RetT, StorageT>(
	ConcreteArray<T, LocalT, InT, OutT, RetT, StorageT> A,
	ConcreteArray<T, LocalT, InT, OutT, RetT, StorageT> B,
	uint dim
)
where LocalT : Mutable<T, LocalT, InT, OutT, RetT, StorageT>
where InT : Immutable<T, LocalT, InT, OutT, RetT, StorageT>
where OutT : Mutable<T, LocalT, InT, OutT, RetT, StorageT>
where RetT : ConcreteRetArray<T, LocalT, InT, OutT, RetT, StorageT>
where StorageT : new(), BaseStorage<T, LocalT, InT, OutT, RetT, StorageT>

Parameters

A
Type: ILNumerics.Core.ArraysConcreteArrayT, LocalT, InT, OutT, RetT, StorageT
The first array.
B
Type: ILNumerics.Core.ArraysConcreteArrayT, LocalT, InT, OutT, RetT, StorageT
The other array.
dim
Type: SystemUInt32
Dimension index to align both arrays elements along.

Type Parameters

T
LocalT
InT
OutT
RetT
StorageT

Return Value

Type: RetT
New array with elements of A and B.
Exceptions

ExceptionCondition
ArgumentExceptionIf dim is not within the range of dimensions of the arrays or if the sizes of A and B do not match.
ArgumentNullException if A or B are null.
Remarks

The size of both arrays must match. This means that all but the dimension #dim must have the same lengths.

[ILNumerics Computing Engine]

See Also

Reference

MathInternal.concat``6(ConcreteArrayUMP, UMP, UMP, UMP, UMP, UMP, ConcreteArrayUMP, UMP, UMP, UMP, UMP, UMP, UInt32)
BaseStorage.Concat(UTP, UInt32)
MathInternal.horzcat``6(ConcreteArrayUMP, UMP, UMP, UMP, UMP, UMP, ConcreteArrayUMP, UMP, UMP, UMP, UMP, UMP)
MathInternal.vertcat``6(ConcreteArrayUMP, UMP, UMP, UMP, UMP, UMP, ConcreteArrayUMP, UMP, UMP, UMP, UMP, UMP)