Module sfs

Source
Expand description

Multi-dimensional site frequency spectra (“SFS”).

The central type is the SfsBase struct, which represents an SFS with a dimensionality that may or may not be known at compile time, and which may or may not be normalised to probability scale. Type aliases Sfs, USfs, DynSfs, and DynUSfs are exposed for convenience.

Modules§

generics
Types for parameterising an SFS.
io
Utilities for reading and writing SFS to different file formats.
iter
Structs for SFS iteration.

Structs§

NormError
An error associated with normalised SFS construction using unnormalised input.
SfsBase
An multi-dimensional site frequency spectrum (“SFS”).
ShapeError
An error associated with SFS construction using invalid shape.

Type Aliases§

DynSfs
A normalised SFS with shape known at run-time.
DynUSfs
An unnormalised SFS with shape known at run-time.
Sfs
A normalised SFS with shape known at compile-time.
USfs
An unnormalised SFS with shape known at compile-time.