Skip to content

Don't require process_outofplace_with_scratch input to be mutable #150

@michaelciraci

Description

@michaelciraci

Right now, the Fft options are:

fn process(&self, buffer: &mut [Complex<T>]);
fn process_with_scratch(&self,
        buffer: &mut [Complex<T>],
        scratch: &mut [Complex<T>],
    );
fn process_outofplace_with_scratch(
        &self,
        input: &mut [Complex<T>],
        output: &mut [Complex<T>],
        scratch: &mut [Complex<T>],
    );

Can you provide an API where the input does not need to be mutable? Right now, if I have a non-mutable slice I need to clone the slice before I can take the FFT.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions