isPD {AllelicSeries}R Documentation

Check if Positive Definite

Description

Check if Positive Definite

Usage

isPD(x, force_symmetry = FALSE, tau = 1e-08)

Arguments

x

Numeric matrix.

force_symmetry

Force the matrix to be symmetric?

tau

Threshold the minimum eigenvalue must exceed for the matrix to be considered positive definite.

Value

Logical indicating whether the matrix is PD.


[Package AllelicSeries version 0.1.1.1 Index]