sptenmat

Data members

MATLAB name

pyttb name

Calling convention

size

shape

X.shape

tsize

tshape

X.tshape

Methods

MATLAB name

pyttb name

Calling convention

sptenmat

from_data

A = ttb.sptenmat.from_data(subs, vals, rdims, cdims, tshape)

from_tensor_type

A = ttb.sptenmat.from_tensor_type(X, np.array([0]))

from_array

A = ttb.sptenmat.from_data(B, rdims, cdims, tshape)

sptensor

to_sptensor

X.to_sptensor()

MATLAB methods not included in pyttb

  • aatx