Skip to main content

Module math

Module math 

Source
Expand description

Mathematical abstractions for signal processing

§Mathematical abstractions

This module provides:

  • Scalar — base numeric trait for all types (including integers)
  • Transcendental — Scalar extension with trigonometry (f32/f64)
  • Common mathematical functions (lerp, db conversion, etc.)
  • Vector operations through the vector submodule
  • Fast approximations for DSP

Re-exports§

pub use functions::*;

Modules§

functions
Common mathematical functions for signal processing
vector
Vector operations for DSP

Traits§

Scalar
Base numeric trait for all scalar types.
Transcendental
Transcendental operations (sin, cos, sqrt, exp, ln).