bind.tensor | R Documentation |
Tensors can be put side by side in one dimension if they are of equal size in all other dimensions.
bind.tensor(A,dA=NULL,B,dB=dA)
A |
the first tensor |
dA |
the dimension of A to be used for binding the tensors |
B |
the second tensor |
dB |
the dimension of B to be used for binding the tensors |
This function works like a cbind or rbind function for tensors.
a tensor with the tensors combined to one
binding does not preserve the sequence of the dimensions.
K.Gerald van den Boogaart
base{cbind}
A <- to.tensor(1:6,c(a=2,b=3))
bind.tensor(A,"a",A)
bind.tensor(A,"b",A)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.