pub struct Z60 { /* private fields */ }Trait Implementations§
Source§impl Conj for Z60
impl Conj for Z60
Source§impl InnerIntType for Z60
impl InnerIntType for Z60
Source§impl ZZBase for Z60
impl ZZBase for Z60
type Scalar = Ratio<i64>
type Real = Z60
fn zz_coeffs(&self) -> &[Self::Scalar]
fn zz_coeffs_mut(&mut self) -> &mut [Self::Scalar]
fn zz_params() -> &'static ZZParams<'static>
fn zz_mul_arrays(x: &[Self::Scalar], y: &[Self::Scalar]) -> Vec<Self::Scalar>
fn zz_mul_scalar(x: &[Self::Scalar], scalar: i64) -> Vec<Self::Scalar>
fn new(coeffs: &[Self::Scalar]) -> Self
Source§fn has_qturn() -> bool
fn has_qturn() -> bool
Return whether this ring supports a quarter turn,
i.e. can represent the imaginary unit i. Read more
Source§fn qturn() -> i8
fn qturn() -> i8
Return angle representing a quarter turn (if ring supports it).
NOTE: In unsuitable rings this value will be incorrect (see
has_turn()).Source§fn scale<I: Integer + ToPrimitive>(&self, scalar: I) -> Selfwhere
Self: Sized,
fn scale<I: Integer + ToPrimitive>(&self, scalar: I) -> Selfwhere
Self: Sized,
Scalar multiplication.
fn zz_zero_vec() -> Vec<Self::Scalar>
fn zz_one_vec() -> Vec<Self::Scalar>
fn zz_add(&self, other: &Self) -> Vec<Self::Scalar>
fn zz_sub(&self, other: &Self) -> Vec<Self::Scalar>
fn zz_neg(&self) -> Vec<Self::Scalar>
fn zz_mul(&self, other: &Self) -> Vec<Self::Scalar>
impl Copy for Z60
impl Eq for Z60
impl IntRing for Z60
impl StructuralPartialEq for Z60
impl ZCommon for Z60
impl ZNum for Z60
Auto Trait Implementations§
impl Freeze for Z60
impl RefUnwindSafe for Z60
impl Send for Z60
impl Sync for Z60
impl Unpin for Z60
impl UnwindSafe for Z60
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more