t | R Documentation |
Transposition of matrices and arrays
## S3 method for class 'dual'
t(x)
## S3 method for class 'dual'
aperm(a, perm = NULL, resize = TRUE, ...)
x , a |
a dual matrix or array |
perm |
subscript permutation vector |
resize |
if 'TRUE' (default) the array is reshaped |
... |
extra arguments (ignored) |
A dual matrix or array.
x <- dual( matrix(c(1,2,0,3), 2, 2) )
t(x)
# creation of an array using dim<-
y <- dual( c(1,-1) ) + 1:12
dim(y) <- c(2,3,2)
z <- aperm(y, c(2,3,1))
z
d(z, "x1")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.