squiggle/packages/website/docs/Api/DistPointSet.md
2022-06-05 22:16:29 -07:00

446 B

sidebar_position title
3 Point Set Distribution

make

PointSet.make: (distribution) => pointSetDist

makeContinuous

PointSet.makeContinuous: (list<{x: number, y: number}>) => pointSetDist

makeDiscrete

PointSet.makeDiscrete: (list<{x: number, y: number}>) => pointSetDist

mapPoints

PointSet.mapPoints: (pointSetDist, ({x:number, y:number} => {x:number, y:number})) => pointSetDist