Bases: ArrayFactory
Factory for numpy.ndarray hints (an array of zeros).
Example
>>> import numpy as np
>>> import typing_extensions as tx
>>> from bagof.factories import get_factory
>>> from bagof.hints.numpy import ndarray, dtype
>>> L = tx.Literal
>>> get_factory(ndarray[tx.Tuple[L[2], L[2]], dtype[int]])()
array([[0, 0],
[0, 0]])