Nothing
#' Helper function to check if matrix is positive definite
#'
#' @param mat The matrix
#' @param tol The tolerance
#'
#' @return A boolean indicating positive definiteness
isPD = function(mat, tol = 1e-6){
ev = eigen(mat, symmetric = TRUE)$values
all(ev >= -tol * abs(ev[1L]))
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.