arrow: Find upset, downset of a set among a lattice

View source: R/arrow.R

arrowR Documentation

Find upset, downset of a set among a lattice

Description

Find upset, downset of a set among a lattice

Usage

arrow(x, M, method = NULL)

Arguments

x

A binary vector encoding an element of a poset

M

Binary matrix encoding the lattice from which the supset or downset is found

method

Return supremum or infimum

Value

b Binary vector of sup or inf

Author(s)

Peiyuan Zhu

Examples

M <- matrix(c(0,1,1,1,1,1),nrow=2)
x <- c(0,1,0)
arrow(x,M,"up")

RAPLER/dst-1 documentation built on June 2, 2025, 9:22 a.m.