1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212
|
/*!
\page batch_detail_algo algorithm
This function performs the operation across all batches present in the input simultaneously.
*/
/**
\addtogroup arrayfire_func
@{
\defgroup reduce_func_sum sum
\ingroup reduce_mat
Find the sum of values in the input
This table defines the return value types for the corresponding input types
Input Type | Output Type
--------------------|---------------------
f32, f64, c32, c64 | same as input
s32, u32, s64, u64 | same as input
s16 | s32
u16, u8, b8 | u32
\copydoc batch_detail_algo
\defgroup reduce_func_product product
\ingroup reduce_mat
Find the product of values in the input
This table defines the return value types for the corresponding input types
Input Type | Output Type
--------------------|---------------------
f32, f64, c32, c64 | same as input
s32, u32, s64, u64 | same as input
s16 | s32
u16, u8, b8 | u32
\copydoc batch_detail_algo
\defgroup reduce_func_min min
\ingroup reduce_mat
Find the minimum values and their locations
\copydoc batch_detail_algo
\defgroup reduce_func_max max
\ingroup reduce_mat
Find the maximum values and their locations
\copydoc batch_detail_algo
\defgroup reduce_func_all_true alltrue
\ingroup reduce_mat
Find if of all of the values in input are true
Return type is b8 for all input types
\copydoc batch_detail_algo
\defgroup reduce_func_any_true anytrue
\ingroup reduce_mat
Find if of any of the values in input are true
Return type is b8 for all input types
\copydoc batch_detail_algo
\defgroup reduce_func_count count
\ingroup reduce_mat
Count the number of non-zero elements in the input
Return type is u32 for all input types
\copydoc batch_detail_algo
\defgroup scan_func_accum accum
\ingroup scan_mat
Perform exclusive sum along specified dimension
This table defines the return value types for the corresponding input types
Input Type | Output Type
--------------------|---------------------
f32, f64, c32, c64 | same as input
s32, u32, s64, u64 | same as input
s16 | s32
u16, u8, b8 | u32
\copydoc batch_detail_algo
\defgroup scan_func_where where
\ingroup scan_mat
Locate the indices of non-zero elements
Return type is u32 for all input types
The locations are provided by flattening the input into a linear array.
\defgroup calc_func_diff1 diff1
\ingroup calc_mat
First order numerical difference along specified dimension
\copydoc batch_detail_algo
\defgroup calc_func_diff2 diff2
\ingroup calc_mat
Second order numerical difference along specified dimension
\copydoc batch_detail_algo
\defgroup sort_func_sort sort
\ingroup sort_mat
Sort input arrays
Sort an multi dimensional array
\defgroup sort_func_sort_index sortIndex
\ingroup sort_mat
Sort input arrays get the sorted indices
Sort a multi dimensional array and return sorted indices. Index array is of
type u32.
\defgroup sort_func_sort_keys sortByKey
\ingroup sort_mat
Sort input arrays based on keys
Sort a multi dimensional array based on keys
\defgroup set_func_unique setunique
\ingroup set_mat
Find unique values from an input
\defgroup set_func_union setunion
\ingroup set_mat
Find union of two inputs
\defgroup set_func_intersect setintersect
\ingroup set_mat
Find intersection of two inputs
@}
*/
|