Returns the data type of a complex number.
input value
data type
var Complex128 = require( `@stdlib/complex/float64` );
var dt = dtype( new Complex128( 1.0, 2.0 ) );
// returns 'complex128'
Returns the data type of a complex number.
input value
data type
var Complex64 = require( `@stdlib/complex/float32` );
var dt = dtype( new Complex64( 1.0, 2.0 ) );
// returns 'complex64'
Returns the data type of a complex number.
null
.input value
data type
var Complex64 = require( `@stdlib/complex/float32` );
var dt = dtype( new Complex64( 1.0, 2.0 ) );
// returns 'complex64'
var dt = dtype( 'beep' );
// returns null
Complex number data type.