aoc2020-0.1.0.0: Development environment for Advent of Code challenges
Safe HaskellNone
LanguageHaskell2010

AOC.Common.Numeric

Documentation

data PascalTable Source #

Constructors

PascalTable 

Fields

Instances

Instances details
Show PascalTable Source # 
Instance details

Defined in AOC.Common.Numeric

buildPascalTable Source #

Arguments

:: Int

num diagonals

-> Int

depth of diagonal

-> PascalTable 

binom Source #

Arguments

:: PascalTable 
-> Int

diagonal

-> Int

index

-> Int