ndt::type t = ndt::make_type(); int kind = t.get_kind(); // kind = 2
ndt::type t = ndt::make_typeIn this example, we create a ndt type object for a 64-bit floating point number, and then use the get_kind function to determine the kind of data stored in the type. Since the type is a floating point number, the kind value returned is 4. These examples illustrate the use of the ndt type get_kind function in the DyND package library, which is a C++ library for dynamic, multidimensional arrays.(); int kind = t.get_kind(); // kind = 4