A square matrix to compute the determinant for.
Alternatively, a higher dimensional array which is treated as a stack
of matrices computed from the first two dimensions.
# NOT RUN {x <- matrix(1:4, ncol = 2)
# Dimensions are keptrray_det(x)
x_3d <- rray_broadcast(x, c(2, 2, 3))
# 3D matrices are treated as stacks of 2D matricesrray_det(x_3d)
# }