pub struct OddCharInvariants {
pub p: u128,
pub field_order: u128,
pub dim: usize,
pub radical_dim: usize,
pub disc_is_square: bool,
pub hasse: i128,
}Expand description
Classification invariants for a nondegenerate-plus-radical diagonal form
over F_P of odd characteristic.
Fields§
§p: u128Characteristic prime.
field_order: u128Field order q; equal to p for prime fields and p^n for extensions.
dim: usizeNondegenerate dimension (number of nonzero diagonal entries).
radical_dim: usizeRadical (null) dimension.
disc_is_square: boolDiscriminant square-class: true if det of the nondegenerate part is a
square. With dim, a complete isometry invariant over a finite field.
hasse: i128The Hasse–Witt invariant — always +1 over a finite field.
Implementations§
Trait Implementations§
Source§impl Clone for OddCharInvariants
impl Clone for OddCharInvariants
Source§fn clone(&self) -> OddCharInvariants
fn clone(&self) -> OddCharInvariants
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OddCharInvariants
Source§impl Debug for OddCharInvariants
impl Debug for OddCharInvariants
Source§impl Display for OddCharInvariants
impl Display for OddCharInvariants
impl Eq for OddCharInvariants
Source§impl PartialEq for OddCharInvariants
impl PartialEq for OddCharInvariants
impl StructuralPartialEq for OddCharInvariants
Auto Trait Implementations§
impl Freeze for OddCharInvariants
impl RefUnwindSafe for OddCharInvariants
impl Send for OddCharInvariants
impl Sync for OddCharInvariants
impl Unpin for OddCharInvariants
impl UnsafeUnpin for OddCharInvariants
impl UnwindSafe for OddCharInvariants
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