inst/openfhe/src/core/include/math/README.md

OpenFHE Core Math

We provide a brief description below, but encourage readers to refer to Read The Docs - Core Math for more information about the code.

Additionally, we encourage readers to refer to Read The Docs - Core Math Backends

Math Backends

OpenFHE supports a number of mathematical backends for various usecases. For more information refer to Math Backends.

Inheritance Diagram

Let Gen. = Generator

flowchart BT
    A[Distribution Generator] --> |Inherited by|B[Ternary Uniform Gen.];
    A[Distribution Generator] --> |Inherited by|C[Discrete Uniform Gen.];
    A[Distribution Generator] --> |Inherited by|D[Binary Uniform Gen.];
    A[Distribution Generator] --> |Inherited by|E[Discrete Gaussian Gen.];
    A[Distribution Generator] --> |Inherited by|F[Discrete Gaussian Generic Gen.];

File Listings

Binary Uniform Generator

DFT Transform

Discrete Gaussian Generator

Discrete Gaussian Generator Generic

Discrete Uniform Generator

Distr Gen

Distribution Generator

Hardware Abstraction Layer (HAL)

Matrix

Matrix Strassen

NB Theory

Ternary Uniform Generator



Try the openfhe.R package in your browser

Any scripts or data that you put into this service are public.

openfhe.R documentation built on Nov. 13, 2026, 5:07 p.m.