Skip to content

Commit 4841305

Browse files
committed
Add note regarding std::ops traits for Array documentation
1 parent f0b2ae2 commit 4841305

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/array.rs

+6
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,12 @@ extern {
104104
/// A multidimensional data container
105105
///
106106
/// Currently, Array objects can store only data until four dimensions
107+
///
108+
/// ### NOTE
109+
///
110+
/// All operators(traits) from std::ops module implemented for Array object
111+
/// carry out element wise operations. For example, `*` does multiplication of
112+
/// elements at corresponding locations in two different Arrays.
107113
pub struct Array {
108114
handle: i64,
109115
}

0 commit comments

Comments
 (0)