Documentation
¶
Overview ¶
Package numeric includes various number theoretic algorithms.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrRange = errors.New("value out of range")
View Source
var ErrSyntax = errors.New("invalid syntax")
Functions ¶
func FastExp ¶
FastExp computes a^n using exponentiation by squaring (fast exponentiation). a and n are non-negative integers.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.