icmDealEvPerChip
ICM $EV divided by stack.
icmDealEvPerChip(stacks: F64VectorInput, payouts: F64VectorInput, returnFormat?: F64ReturnFormat): number[] | Float64Array
Import
const poker = require('poker-calculations');
ESM (Node):
import { createRequire } from 'module';
const require = createRequire(import.meta.url);
const poker = require('poker-calculations');
When to use
ICM expected prize divided by stack — $EV per chip for each seat.
How to use
const stacks = [10000, 7500, 5000, 2500];
const payouts = [5000, 3000, 1500, 500];
const evPerChip = poker.icmDealEvPerChip(stacks, payouts);
console.log(evPerChip);