is.cardinal-methods: Test method

is.cardinal-methodsR Documentation

Test method

Description

Tests whether a set function is cardinal, i.e., if its values depend only on the cardinality of subsets. The set function can be given either under the form of an object of class set.func, card.set.func or Mobius.set.func.

Methods

object = "Mobius.set.func"

Returns an object of class logical.

object = "card.set.func"

Returns an object of class logical.

object = "set.func"

Returns an object of class logical.

Examples

is.cardinal(set.func(-7:8))
is.cardinal(uniform.capacity(8))
is.cardinal(Mobius.game(0:10,4,2))

kappalab documentation built on Nov. 8, 2023, 1:07 a.m.