Eigenvalues of Hermitian mlx arrays
Usage
mlx_eigvalsh(x, uplo = c("L", "U"))Examples
x <- mlx_matrix(c(2, 1, 1, 3), 2, 2)
mlx_eigvalsh(x)
#> mlx array [2]
#> dtype: float32
#> device: gpu
#> values:
#> [1] 1.381966 3.618034
Eigenvalues of Hermitian mlx arrays
mlx_eigvalsh(x, uplo = c("L", "U"))x <- mlx_matrix(c(2, 1, 1, 3), 2, 2)
mlx_eigvalsh(x)
#> mlx array [2]
#> dtype: float32
#> device: gpu
#> values:
#> [1] 1.381966 3.618034