validate_positive_definite: Validate Positive Semi-Definite Matrices

View source: R/validation.R

validate_positive_definiteR Documentation

Validate Positive Semi-Definite Matrices

Description

Validates that all matrices in a list are symmetric and positive semi-definite.

Usage

validate_positive_definite(varcov_list)

Arguments

varcov_list

List of matrices. Each matrix is checked to ensure it is symmetric and positive semi-definite.

Value

NULL. If all matrices pass, the function returns nothing. If any matrix fails, it stops with an error message.

Author(s)

Thomas Debray tdebray@fromdatatowisdom.com


SimTOST documentation built on Oct. 9, 2026, 5:07 p.m.