is_dist_matrix: Check if a distance matrix of dimension n x n (symmetic and...

View source: R/predicates.R

is_dist_matrixR Documentation

Check if a distance matrix of dimension n x n (symmetic and non-negative values)

Description

this function checks if the input is a symmetrix positive definite matrix

Usage

is_dist_matrix(x, n, m)

Arguments

x

is the input

n

is the input matrix dimension (assuming a square matrix)


jtipton25/pgR documentation built on July 8, 2022, 12:44 a.m.