pub fn constant<T>(cnst: T, dims: Dim4) -> Array<T> where
T: ConstGenerator<OutType = T>,
Create an Array with constant value
The trait ConstGenerator has been defined internally for the following types:
cnst
is the constant value to be filled in the Arraydims
is the size of the constant ArrayAn Array of given dimensions with constant value
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4