NumpyScalarCompatible

public protocol NumpyScalarCompatible

A type that is bitwise compatible with one or more NumPy scalar types.

  • The NumPy scalar types that this type is bitwise compatible with. Must be nonempty.

    Declaration

    static var numpyScalarTypes: [PythonObject] { get }
  • The Python ctypes scalar type corresponding to this type.

    Declaration

    static var ctype: PythonObject { get }