Post Reply 
Matrix tensor product
02-25-2018, 05:02 PM
Post: #1
Matrix tensor product
Hey guys, i'm looking for a way to "properly" do a tensor product.
By properly i mean: [0, 1] tensor [1, 0] = [0, 1, 0, 0]
Precisely i want the calculator to keep the dimensions, and he don't, which cause me troubles in cases like:

x x x x
x x x x
x x x x . tensor([0, 1], [1, 0])
x x x x

because the tensor's returned matrix is 1x3.

Thanks ! Smile
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)