oxifft 0.1.4

Pure Rust implementation of FFTW - the Fastest Fourier Transform in the West
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Discrete Hartley Transform.
//!
//! Re-exports the implementation in `rdft::solvers::r2r`.

use crate::kernel::Float;
use crate::rdft::solvers::dht as r2r_dht;

/// Execute the Discrete Hartley Transform.
///
/// The DHT is its own inverse (up to scaling).
pub fn dht<T: Float>(input: &[T], output: &mut [T]) {
    r2r_dht(input, output);
}