first_brillouin_1d

Function first_brillouin_1d 

Source
pub fn first_brillouin_1d(k: f64, b: f64) -> Result<f64>
Expand description

Reduce a scalar wavevector to (-b/2, b/2], for positive reciprocal pitch b.

Upstream: treams.misc.firstbrillouin1d.