``ktensor`` ----------------- Data members ^^^^^^^^^^^^ +-----------------+----------------------+------------------------------------------------------------------------+ | MATLAB name | ``pyttb`` name | Calling convention | +=================+======================+========================================================================+ | ``lambda`` | ``weights`` | ``X.weights`` | +-----------------+----------------------+------------------------------------------------------------------------+ | ``U`` | ``factor_matrices`` | ``X.factor_matrices`` | +-----------------+----------------------+------------------------------------------------------------------------+ Methods ^^^^^^^ +-----------------+----------------------+------------------------------------------------------------------------+ | MATLAB name | ``pyttb`` name | Calling convention | +=================+======================+========================================================================+ | | ``from_vector`` | ``ttb.ktensor.from_vector(data[:], shape)`` | | ``ktensor`` +----------------------+------------------------------------------------------------------------+ | | ``from_function`` | ``ttb.tensor.from_function(, shape)`` | +-----------------+----------------------+------------------------------------------------------------------------+ | ``tensor`` | ``to_tensor`` | ``X.to_tensor()`` | +-----------------+----------------------+------------------------------------------------------------------------+ | ``viz`` | ``viz`` | ``X.viz()`` | +-----------------+----------------------+------------------------------------------------------------------------+