pub fn stack_add<T, const N: usize>(
a: &StackArray<T, N>,
b: &StackArray<T, N>,
) -> StackArray<T, N>Expand description
Stack-based computation for element-wise operations
Performs operations without heap allocation, suitable for embedded systems.
ยงExample
use scirs2_core::embedded::StackArray;
let a = StackArray::<f32, 8>::new();
let b = StackArray::<f32, 8>::new();
// Perform element-wise operations