We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b646fbb commit c53c7f2Copy full SHA for c53c7f2
src/arith/mod.rs
@@ -255,6 +255,17 @@ macro_rules! overloaded_binary_func {
255
///
256
/// An Array with results of the binary operation.
257
258
+ /// In the case of comparison operations such as the following, the type of output
259
+ /// Array is [DType::B8](./enum.DType.html). To retrieve the results of such boolean output
260
+ /// to host, an array of 8-bit wide types(eg. u8, i8) should be used since ArrayFire's internal
261
+ /// implementation uses char for boolean.
262
+ ///
263
+ /// * [gt](./fn.gt.html)
264
+ /// * [lt](./fn.lt.html)
265
+ /// * [ge](./fn.ge.html)
266
+ /// * [le](./fn.le.html)
267
+ /// * [eq](./fn.eq.html)
268
269
///# Note
270
271
/// The trait `Convertable` essentially translates to a scalar native type on rust or Array.
0 commit comments