dim.mlx.Rd
Get dimensions of MLX array
# S3 method for class 'mlx' dim(x)
An mlx array, or an R array/matrix/vector that will be converted via as_mlx().
as_mlx()
Integer vector of dimensions
x <- as_mlx(matrix(1:4, 2, 2)) dim(x) #> [1] 2 2