Join up to 4 arrays along specified dimension. More...
Functions | |
AFAPI array | join (const int dim, const array &first, const array &second) |
C++ Interface to join 2 arrays along a dimension. More... | |
AFAPI array | join (const int dim, const array &first, const array &second, const array &third) |
C++ Interface to join 3 arrays along a dimension. More... | |
AFAPI array | join (const int dim, const array &first, const array &second, const array &third, const array &fourth) |
C++ Interface to join 4 arrays along a dimension. More... | |
AFAPI af_err | af_join (af_array *out, const int dim, const af_array first, const af_array second) |
C Interface to join 2 arrays along a dimension. More... | |
AFAPI af_err | af_join_many (af_array *out, const int dim, const unsigned n_arrays, const af_array *inputs) |
C Interface to join many arrays along a dimension. More... | |
Join up to 4 arrays along specified dimension.
Requires that all dimensions except the join dimension must be the same for all arrays.
C Interface to join 2 arrays along a dimension.
Empty arrays are ignored.
[out] | out | joined array |
[in] | dim | dimension along which the join occurs |
[in] | first | input array |
[in] | second | input array |
AFAPI af_err af_join_many | ( | af_array * | out, |
const int | dim, | ||
const unsigned | n_arrays, | ||
const af_array * | inputs | ||
) |
C Interface to join many arrays along a dimension.
Limited to 10 arrays. Empty arrays are ignored.
[out] | out | joined array |
[in] | dim | dimension along which the join occurs |
[in] | n_arrays | number of arrays to join |
[in] | inputs | array of af_arrays containing handles to the arrays to be joined |
C++ Interface to join 2 arrays along a dimension.
Empty arrays are ignored.
[in] | dim | dimension along which the join occurs |
[in] | first | input array |
[in] | second | input array |
C++ Interface to join 3 arrays along a dimension.
Empty arrays are ignored.
[in] | dim | dimension along which the join occurs |
[in] | first | input array |
[in] | second | input array |
[in] | third | input array |
AFAPI array join | ( | const int | dim, |
const array & | first, | ||
const array & | second, | ||
const array & | third, | ||
const array & | fourth | ||
) |
C++ Interface to join 4 arrays along a dimension.
Empty arrays are ignored.
[in] | dim | dimension along which the join occurs |
[in] | first | input array |
[in] | second | input array |
[in] | third | input array |
[in] | fourth | input array |