mirror of
https://github.com/arnaucube/poulpy.git
synced 2026-02-10 13:16:44 +01:00
added rgsw product & automorphism
This commit is contained in:
@@ -90,6 +90,10 @@ impl Scalar {
|
||||
}
|
||||
|
||||
pub fn raw(&self) -> &[i64] {
|
||||
unsafe { std::slice::from_raw_parts(self.ptr, self.n) }
|
||||
}
|
||||
|
||||
pub fn raw_mut(&self) -> &mut [i64] {
|
||||
unsafe { std::slice::from_raw_parts_mut(self.ptr, self.n) }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user