.. _tensor_creation:

Tensor Creation Routines
========================

Basic creation routines
-----------------------

.. autosummary::
   :toctree: generated/
   :nosignatures:

   mars.tensor.empty
   mars.tensor.empty_like
   mars.tensor.eye
   mars.tensor.identity
   mars.tensor.ones
   mars.tensor.ones_like
   mars.tensor.zeros
   mars.tensor.zeros_like
   mars.tensor.full


Creation from other data
------------------------

.. autosummary::
   :toctree: generated/
   :nosignatures:

   mars.tensor.tensor
   mars.tensor.array
   mars.tensor.asarray
   mars.tensor.ascontiguousarray



Numerical ranges
----------------

.. autosummary::
   :toctree: generated/
   :nosignatures:

   mars.tensor.arange
   mars.tensor.linspace
   mars.tensor.meshgrid
   mars.tensor.mgrid
   mars.tensor.ogrid


Building matrices
-----------------

.. autosummary::
   :toctree: generated/
   :nosignatures:

   mars.tensor.diag
   mars.tensor.diagflat
   mars.tensor.tril
   mars.tensor.triu


Misc
----

.. autosummary::
   :toctree: generated/
   :nosignatures:

   mars.tensor.ExecutableTuple
