Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
math_nt_example.cc File Reference

Demonstration of Number Theory and Modular Arithmetic algorithms. More...

#include <iostream>
#include <iomanip>
#include <vector>
#include <print_rule.H>
#include <modular_arithmetic.H>
#include <primality.H>
#include <pollard_rho.H>
#include <ntt.H>
#include <modular_combinatorics.H>
#include <modular_linalg.H>
Include dependency graph for math_nt_example.cc:

Go to the source code of this file.

Functions

void demo_modular_arithmetic ()
 
void demo_primality_factorization ()
 
void demo_ntt ()
 
void demo_modular_combinatorics ()
 
void demo_modular_linalg ()
 
int main ()
 

Detailed Description

Demonstration of Number Theory and Modular Arithmetic algorithms.

Definition in file math_nt_example.cc.

Function Documentation

◆ demo_modular_arithmetic()

void demo_modular_arithmetic ( )

◆ demo_modular_combinatorics()

void demo_modular_combinatorics ( )

Definition at line 125 of file math_nt_example.cc.

References Aleph::divide_and_conquer_partition_dp(), and Aleph::print_rule().

Referenced by main().

◆ demo_modular_linalg()

◆ demo_ntt()

void demo_ntt ( )

Definition at line 100 of file math_nt_example.cc.

References Aleph::NTT< MOD, ROOT >::multiply(), and Aleph::print_rule().

Referenced by main().

◆ demo_primality_factorization()

void demo_primality_factorization ( )

◆ main()