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