t.mlx.Rd
Transpose of MLX matrix
# S3 method for class 'mlx' t(x)
An mlx matrix (2-dimensional array).
Transposed mlx matrix
mlx.core.transpose
x <- as_mlx(matrix(1:6, 2, 3)) t(x) #> mlx array [3 x 2] #> dtype: float32 #> device: gpu #> values: #> [,1] [,2] #> [1,] 1 2 #> [2,] 3 4 #> [3,] 5 6