dihedral 0.0.4

Dihedral (torsion) angle calculations
Documentation
# dihedral

[![crates.io](https://img.shields.io/crates/d/dihedral.svg)](https://crates.io/crates/dihedral)
[![crates.io](https://img.shields.io/crates/v/dihedral.svg)](https://crates.io/crates/dihedral)
[![crates.io](https://img.shields.io/crates/l/dihedral.svg)](https://crates.io/crates/dihedral)
[![docs.rs](https://docs.rs/dihedral/badge.svg)](https://docs.rs/dihedral)

This crate provides functions for working with dihedral angles. Currently, there are two functions:

- `dihedral` calculates the dihedral angle in the range -π to π in accordance with biochemistry textbooks (see also: https://en.wikipedia.org/wiki/Dihedral_angle#In_stereochemistry)
- `dihedral_unsigned` ignores the direction of rotation and outputs the angle within the range 0 to π. This function is faster than the above signed version.