mirror of
https://github.com/pezkuwichain/bizinikiwi-bn.git
synced 2026-06-23 07:21:11 +00:00
real/imagianry part exposure
This commit is contained in:
@@ -92,6 +92,14 @@ impl Fq2 {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
pub fn real(&self) -> &Fq {
|
||||
&self.c0
|
||||
}
|
||||
|
||||
pub fn imaginary(&self) -> &Fq {
|
||||
&self.c1
|
||||
}
|
||||
}
|
||||
|
||||
impl FieldElement for Fq2 {
|
||||
|
||||
Reference in New Issue
Block a user