You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
314 B

4 days ago
import numpy as np
# list of numarray data types
integer_types: list[str] = [
"int8", "uint8", "int16", "uint16",
"int32", "uint32", "int64", "uint64"]
float_types: list[str] = ["float32", "float64"]
complex_types: list[str] = ["complex64", "complex128"]
types: list[str] = integer_types + float_types