Added tmp_mat_znx_dft to Scratch

This commit is contained in:
Jean-Philippe Bossuat
2025-05-28 14:55:31 +02:00
parent 3f910eb498
commit 476ee0ef47
2 changed files with 32 additions and 0 deletions

View File

@@ -198,3 +198,17 @@ where
}
}
}
impl<D, B: Backend> MatZnxDft<D, B> {
pub(crate) fn from_data(data: D, n: usize, rows: usize, cols_in: usize, cols_out: usize, size: usize) -> Self {
Self {
data,
n,
rows,
cols_in,
cols_out,
size,
_phantom: PhantomData,
}
}
}