repl.txt (835B)
1 2 {{alias}}( dtype ) 3 Returns an array constructor. 4 5 The function returns constructors for the following data types: 6 7 - float32: single-precision floating-point numbers. 8 - float64: double-precision floating-point numbers. 9 - generic: values of any type. 10 - int16: signed 16-bit integers. 11 - int32: signed 32-bit integers. 12 - int8: signed 8-bit integers. 13 - uint16: unsigned 16-bit integers. 14 - uint32: unsigned 32-bit integers. 15 - uint8: unsigned 8-bit integers. 16 - uint8c: unsigned clamped 8-bit integers. 17 18 Parameters 19 ---------- 20 dtype: string 21 Data type. 22 23 Returns 24 ------- 25 out: Function|null 26 Constructor. 27 28 Examples 29 -------- 30 > var ctor = {{alias}}( 'float64' ) 31 <Function> 32 > ctor = {{alias}}( 'float' ) 33 null 34 35 See Also 36 -------- 37