Hi,
say I wanted to write a 3x2 matrix of the form
[1 0] [0 1] [0 0]
how would I go about it?
I've tried using the as_tensor function and writing something like
F = as_tensor([1 0] [0 1] [0 0], (i, j))
Any help would be appreciated.
Did you try
F = as_tensor([[1, 0], [0, 1], [0, 0]])
or are you looking for something more complicated?
Thats perfect, thanks.