MCPcopy Index your code
hub / github.com/adamgreig/labrador-ldpc

github.com/adamgreig/labrador-ldpc @v1.2.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.2.1 ↗ · + Follow
79 symbols 197 edges 14 files 25 documented · 32%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Labrador-LDPC

A crate for encoding and decoding a selection of low-density parity check (LDPC) error correcting codes. Currently, the CCSDS 231.1-O-1 TC codes at rate r=1/2 with dimensions k=128, k=256, and k=512, and the CCSDS 131.0-B-2 TM codes at rates r=1/2, r=2/3, and r=4/5 with dimensions k=1024 and k=4096 are supported.

No dependencies, no_std. Designed for both high-performance decoding and resource-constrained embedded scenarios.

Documentation

Repository

C API

Extension points exported contracts — how you extend this code

DecodeFrom (Interface)
Trait for types that the min-sum decoder can operate with. Implemented for `i8`, `i16`, `i32`, `f32`, and `f64`. [5 implementers]
src/decoder.rs
EncodeInto (Interface)
Trait for the types of codeword we can encode into. We implement this for u8 (the standard but slow option), and u32 an [3 …
src/encoder.rs

Core symbols most depended-on inside this repo

n
called by 22
src/codes/mod.rs
k
called by 21
src/codes/mod.rs
punctured_bits
called by 9
src/codes/mod.rs
hard_bit
called by 8
src/decoder.rs
iter_paritychecks
called by 7
src/codes/mod.rs
params
called by 6
src/codes/mod.rs
abs
called by 5
src/decoder.rs
hard_to_llrs
called by 5
src/decoder.rs

Shape

Function 40
Method 32
Enum 3
Class 2
Interface 2

Languages

Rust96%
C3%
C++1%

Modules by API surface

src/decoder.rs25 symbols
capi/src/lib.rs25 symbols
src/codes/mod.rs17 symbols
src/encoder.rs6 symbols
perftest/src/main.rs3 symbols
capi/examples/example.c2 symbols
capi/include/labrador_ldpc.h1 symbols

For agents

$ claude mcp add labrador-ldpc \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page