Learn R Programming

oosse (version 1.0.11)

isPD: Helper function to check if matrix is positive definite

Description

Helper function to check if matrix is positive definite

Usage

isPD(mat, tol = 1e-06)

Value

A boolean indicating positive definiteness

Arguments

mat

The matrix

tol

The tolerance