``tensor`` ------------------ Methods ^^^^^^^ +-----------------+----------------------+------------------------------------------------------------------------+ | MATLAB name | ``pyttb`` name | Calling convention | +=================+======================+========================================================================+ | ``tensor`` | ``from_function`` | ``ttb.tensor.from_function(, shape)`` | +-----------------+----------------------+------------------------------------------------------------------------+ | ``sptensor`` | ``to_sptensor`` | ``X.to_sptensor()`` | +-----------------+----------------------+------------------------------------------------------------------------+