InstallationΒΆ
ldgm comprises both a Python package (to create LDGMs) and a set of Matlab functions (to infer LDGM precision matrices and perform matrix algebra operations with them).
To install the ldgm Python package simply run:
$ python3 -m pip git+https://github.com/awohns/ldgm.git
To use the Matlab code, first clone the repo:
$ git clone https://github.com/awohns/ldgm.git
And then run Matlab scripts in the matlab/ directory.