MAT_find_size: Determine the dimensions of a symmetric matrix from the...

View source: R/matrices.R

MAT_find_sizeR Documentation

Determine the dimensions of a symmetric matrix from the length of a vector of the upper or lower half.

Description

Returns a single number which is the length of the sides of the original matrix.

Usage

MAT_find_size(x, diag = F)

Arguments

x

The length of the vector of one half of the matrix.

diag

Whether the diagonal values are included or not. Defaults to F.

Examples

MAT_find_size(3)

Deleetdk/kirkegaard documentation built on May 8, 2024, 12:27 a.m.