R/array-lenses.R
t_l.Rd
Lens into the transpose of a matrix
t_l
An object of class lens of length 2.
lens
(x <- matrix(1:4, ncol = 2))#> [,1] [,2] #> [1,] 1 3 #> [2,] 2 4view(x, t_l)#> [,1] [,2] #> [1,] 1 2 #> [2,] 3 4set(x, t_l, matrix(11:14, ncol = 2))#> [,1] [,2] #> [1,] 11 12 #> [2,] 13 14