Integer-Array

No-STD fixed-point fixed-size array for Rust.

The library lets the user declare arrays with traits that simplify the writhing of DSP-code. It utilizes the fixed library to allow flexibility in fixed point sizes and precisions.

This is an experimental library for no-std DSP. Expect breaking changes.

The package can be found at https://crates.io/crates/integer_array.

The documentation can be found at https://docs.rs/integer_array.

Release notes are found under RELEASES.md

Use example

```rust use integerarray as ia; use integerarray::trait_definitions::*; use fixed::{types::extra::U20, FixedI32};

// Define an array type of size 4, and implemnets a buch of traits to it. ia::declarearrayreal!( Arr4, 4, FixedI32 );

// Create the actual array. let mut x = Arr4::newfromi32(66); asserteq!(x.toi32(), [66, 66, 66, 66]);

// Do some math with the arrays. let y = Arr4::newfromf32( 2.0 ); x = x/y;

assert_eq!(x.front(), 33); ```