Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
crystalg
0.1.0
Top Level Namespace
Crystalg
DataStructures
FenwickTree
FenwickTree2D
KDTree
LeftistHeap
LinkCutTree
NodeID
PersistentUnionFind
NodeID
PriorityQueue
Queue
RandomizedBinarySearchTree
Node
RandomizedMeldableHeap
SegmetTree
SkewHeap
SkipList
Stack
UnionFind
Geometry
CCW
Circle
Line
Point
Polygon
Containment
Segment
Graph
ConnectedComponents
ArticulationPoints
Bridges
CycleDetection
Dinic
DirectedGraph
Edge
FlowEdge
FlowGraph
FordFulkerson
Graph
HopcroftKarp
NodeID
ShortestPath
Dijkstra
SpanningTree
Kruskal
UndirectedGraph
WeightedFlowEdge
NumberTheory
Fraction
Mod
SternBrocotTree
Random
Xor128
Strings
AhoCorasick
Node
BakerBird
RollingHash
SuffixArray
Float
Built with Crystal 1.9.2
2023-10-08 10:01:00 UTC
module
Crystalg::NumberTheory::Mod
Defined in:
crystalg/number_theory/mod.cr
Class Method Summary
.inverse
(a, m)
.mod
(a, m)
.pow
(y, exp, mod)
Class Method Detail
def self.
inverse
(a, m)
#
[
View source
]
def self.
mod
(a, m)
#
[
View source
]
def self.
pow
(y, exp, mod)
#
[
View source
]