quadratic 0.3.1

Computes the Legendre and Jacobi symbols for integers using the quadratic reciprocity law
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Quadratic
[![build status](https://secure.travis-ci.org/clux/quadratic.svg)](http://travis-ci.org/clux/quadratic)
[![coverage status](http://img.shields.io/coveralls/clux/quadratic.svg)](https://coveralls.io/r/clux/quadratic)
[![crates status](https://img.shields.io/crates/v/quadratic.svg)](https://crates.io/crates/quadratic)

Number theoretic helpers. Calculates the [Legendre](http://mathworld.wolfram.com/LegendreSymbol.html) and [Jacobi symbol](http://mathworld.wolfram.com/JacobiSymbol.html) using the [standard algorithm](https://en.wikipedia.org/wiki/Jacobi_symbol#Calculating_the_Jacobi_symbol). Since the Jacobi symbol is a generalization of the Legendre symbol, only this function is provided.

## Usage
Add [quadratic](https://crates.io/crates/quadratic) to `Cargo.toml`.

## [documentation]http://clux.github.io/quadratic

## License
MIT-Licensed. See LICENSE file for details.