Copy and write values in the locations specified by the sequences.
More...
Copy and write values in the locations specified by the sequences.
§ af_assign_gen()
Assignment of an array using af_seq, or af_array.
Generalized assignment function that accepts either af_array or af_seq along a dimension to assign elements form an input array to an output array
- Parameters
-
| [out] | out | output array containing values at indexed by the sequences |
| [in] | lhs | is the input array |
| [in] | ndims | is the number of af_index_t provided |
| [in] | indices | is an af_array of af_index_t objects |
| [in] | rhs | is the array whose values will be assigned to lhs |
§ af_assign_seq()
Copy and write values in the locations specified by the sequences.
- Parameters
-
| [out] | out | output array with values of rhs copied to locations specified by index and values from lhs in all other locations. |
| [in] | lhs | is array whose values are used for indices NOT specified by index |
| [in] | ndims | is the number of sequences provided |
| [in] | indices | is an array of sequences |
| [in] | rhs | is the array whose values are used for indices specified by index |