amd._types   A
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 0
eloc 7
dl 0
loc 11
rs 10
c 0
b 0
f 0
1
"""Contains the FloatArray and IntArray types."""
2
3
from typing import Union
4
5
import numpy as np
6
import numpy.typing as npt
7
8
FloatArray = npt.NDArray[Union[np.float32, np.float64]]
9
UIntArray = npt.NDArray[Union[np.uint32, np.uint64]]
10
AtomTypeArray = npt.NDArray[Union[np.uint8, np.uint16, np.uint32, np.uint64]]