.. _routines.array-creation: .. currentmodule:: dpnp Array creation routines ======================= .. hint:: `NumPy API Reference: Array creation routines `_ From shape or value ----------------------- .. autosummary:: :toctree: generated/ :nosignatures: empty empty_like eye identity ones ones_like zeros zeros_like full full_like From existing data ------------------------ .. autosummary:: :toctree: generated/ :nosignatures: array asarray asanyarray ascontiguousarray astype copy frombuffer from_dlpack fromfile fromfunction fromiter fromstring loadtxt Numerical ranges ---------------- .. autosummary:: :toctree: generated/ :nosignatures: arange linspace logspace geomspace meshgrid mgrid ogrid Building matrices ----------------- .. autosummary:: :toctree: generated/ :nosignatures: diag diagflat tri tril triu vander The Matrix class ---------------- .. autosummary:: :toctree: generated/ :nosignatures: bmat