ILNumerics - Technical Application Development
Assembly: ILNumerics.Core (in ILNumerics.Core.dll) Version: 5.5.0.0 (5.5.7503.3146)
New array with elements of this array and elements of B.
Create new array with the elements of this array and B, concatenated along dimension dim.
[ILNumerics Core Module]
Namespace: ILNumerics
Assembly: ILNumerics.Core (in ILNumerics.Core.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax
public static RetT Concat<T, LocalT, InT, OutT, RetT, StorageT>( this 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
This array. - B
- Type: ILNumerics.Core.ArraysConcreteArrayT, LocalT, InT, OutT, RetT, StorageT
The other array. - dim
- Type: SystemUInt32
Dimension index to align both storages along.
Type Parameters
- T
- LocalT
- InT
- OutT
- RetT
- StorageT
Return Value
Type: RetTNew array with elements of this array and elements of B.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type ConcreteArrayT, LocalT, InT, OutT, RetT, StorageT. 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).Exceptions
Exception | Condition |
---|---|
ArgumentException | If dim is not a valid dimension index. |
Remarks
The size of both arrays must match. This means that all but the dimension #dim must have the same lengths.
[ILNumerics Core Module]
See Also