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 d5cbbb7 commit 5b238d8Copy full SHA for 5b238d8
src/array.rs
@@ -80,6 +80,15 @@ impl<T> Array<T> {
80
}
81
82
83
+ /// Creates a new `Array` from its underlying components.
84
+ ///
85
+ /// The data array should be provided in the higher-dimensional equivalent
86
+ /// of row-major order.
87
88
+ /// # Error
89
90
+ /// Panics if the number of elements provided does not match the number of
91
+ /// elements specified by the dimensions.
92
pub fn from_parts_with_err(
93
data: Vec<T>,
94
dimensions: Vec<Dimension>,
0 commit comments