neco-complex 0.1.0

Lightweight complex-number foundation for FFT and solver crates
Documentation
  • Coverage
  • 9.09%
    1 out of 11 items documented0 out of 8 items with examples
  • Size
  • Source code size: 9.17 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.75 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 23s Average build duration of successful builds.
  • all releases: 23s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • barineco/neco-crates
    3 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • barineco

neco-complex

日本語

Lightweight complex-number foundation for FFT- and solver-adjacent crates.

This crate provides a narrow Complex<T> used by spectrum buffers, FFT facades, and solver-side helpers. General-purpose complex numerics are handled by ecosystem crates that target those APIs.

API

Item Description
Complex::new(re, im) Construct a complex value
Complex::zero() Construct the origin for f32 / f64
Complex::conj() Return the complex conjugate
Complex::norm_sqr() Return squared magnitude
Complex::arg() Return phase angle
+, -, *, / scalar Minimal arithmetic needed by FFT and spectrum code

Preconditions

  • The API is intentionally narrow and focused on FFT / spectrum / lightweight solver needs.
  • The type exposes plain re / im fields so backend bridges can stay small.
  • High-level complex analysis helpers and matrix abstractions are handled by dedicated crates outside this core.

License

MIT