Learn R Programming

apc (version 3.0.0)

apc-internal: Internal apc Functions

Description

Internal apc functions

Arguments

Author

Bent Nielsen <bent.nielsen@nuffield.ox.ac.uk> 25 Jun 2025 (1 Feb 2016)

Details

These are not to be called by the user.

function.coin is used the coin problem that is relevant for mixed arrays. Given coins of value G,H, it returns the Frobenius number, the Sylvester number and the number of Non-Representable amounts.

function.coin.array is used the coin problem that is relevant for mixed arrays. Given r.g G-coins and r.h H-coins, it returns an array of all possible amounts that can be paid.