[][src]Function arrayfire::constant

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:

Parameters

Return Values

An Array of given dimensions with constant value