Skip to content

Function: expectedHighest() ​

ts
function expectedHighest(spec, times): number;

Defined in: src/odds.ts:494

The average of the highest total among several throws of a roll. Exact: the highest is at most t when every throw is.

Parameters ​

spec ​

Odds

times ​

number

Returns ​

number

MIT © John Morris