um_partition: Check whether partitions of the figuration matrix are...

View source: R/um-partition.r

um_partitionR Documentation

Check whether partitions of the figuration matrix are unimodular

Description

Check whether partitions of the figuration matrix are unimodular. For partitions A=A1 A2, the function um_partition computes the determinants of A1 for all possible (unique) combinations of rows. Function um_partition_sample coputes determinants of A1 for a sample of those partitions.

Usage

um_partition(A)

Arguments

A

Configuration matrix with ncol(A) >= nrow(A)

Value

A list comprising a table of determinants and the number of rows (n) and columns (r) of the matrix A

Examples

data(YangNetwork)
set.seed(2020)
um_partition_sample(YangNetwork$A)

MartinLHazelton/DynamicLatticeBasis documentation built on March 1, 2024, 3:14 a.m.