Skip to main content

Puiseux

Struct Puiseux 

Source
pub struct Puiseux { /* private fields */ }
Expand description

A real algebraic Puiseux series in dt: a root of poly (squarefree, over K_s, s^q = dt), picked by its branch. See the module documentation.

Implementations§

Source§

impl Puiseux

Source

pub fn ramification(&self) -> u32

The q whose root of dt the expansion is a series in: every exponent is a multiple of 1/q. The root of y − h follows h’s own root of dt; a fractional slope of Newton’s polygon refines it only for a polynomial of higher degree.

Source

pub fn coefficient(&self, k: i64) -> Algebraic

The coefficient of dt^(k/q), q the Puiseux::ramification.

Source

pub fn rational_function(&self) -> Option<(Hyperreal, u32)>

The rational function of dt^(1/q) the value is, with that q, when it is one: a value in its one form (Closed) that is one is held as the root of y − h.

Source

pub fn order(&self) -> i64

The exponent of the leading term in units of dt^(1/q), q the Puiseux::ramification.

Trait Implementations§

Source§

impl Clone for Puiseux

Source§

fn clone(&self) -> Puiseux

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Puiseux

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl ExactCodec for Puiseux

Source§

fn write(&self, out: &mut Vec<u8>)

q, the polynomial’s coefficients lowest power first, and the root’s terms through the order that tells the polynomial’s roots apart, from which a reader picks the same root.

Source§

fn read(buf: &[u8], pos: &mut usize) -> Option<Self>

Source§

fn to_bytes(&self) -> Vec<u8> ⓘ

Source§

fn from_bytes(buf: &[u8]) -> Option<Self>

The value buf canonically encodes, with nothing left over.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.