oseledets / tt-fort

Fortran computing core of the TT-Toolbox
MIT License
10 stars 10 forks source link

tt-fort won't multiply tensors with d = 1 #2

Open Saluev opened 10 years ago

Saluev commented 10 years ago
e = ones(2, 1)
E = matrix(e, n=[2], m=[1]) * matrix(e, n=[1], m=[2]) # [[1, 1], [1, 1]]
I = eye(2, 1) # [[1, 0], [0, 1]]
# trying to multiply matrices element-wise @ running multiplication on TT representations
E.tt * I.tt # fatal error: dtt_ha1: special code required for m=l!
oseledets commented 10 years ago

We will try to fix this bug as soon as possible. Meanwhile, try to avoid 1d-matrices :)