vNumeratorMN: Compute the prime representation of the numerator of the...

View source: R/vectors.R

vNumeratorMNR Documentation

Compute the prime representation of the numerator of the fraction representing the probability that two subsets of sets M and N intersect in k points

Description

This function computes the numerator of the fraction representing the probability that two subsets of sets M and N intersect in k points

Usage

vNumeratorMN(intMN, intAN, intBM, k)

Arguments

intMN

Number of elements in the intersection of sets M and N.

intAN

Number of elements in the intersection of sets A (subset of M) and N.

intBM

Number of elements in the intersection of sets B (subset of N) and M.

k

Number of elements in the intersection of sets A and B.

Value

A vector containing the prime representation of the fraction representing the probability that two subsets of sets M and N intersect in k points. Positions represent prime numbers in order (2, 3, 5...), and values represent their exponents in the prime decomposition.


LISTO documentation built on April 25, 2026, 5:06 p.m.