[][src]Struct lll_rs::vector::RationalVector

pub struct RationalVector { /* fields omitted */ }

Implementation of a vector with arbitrary-length rationals as coefficients

Methods

impl RationalVector[src]

pub fn from_vector(coefficients: Vec<Rational>) -> Self[src]

Create an instance from a Vec of Rational

pub fn mulf(&self, other: &Rational) -> Self[src]

Multiplication by a scalar

Trait Implementations

impl Clone for RationalVector[src]

impl Debug for RationalVector[src]

impl Dot<Rational> for RationalVector[src]

impl Index<usize> for RationalVector[src]

type Output = Rational

The returned type after indexing.

impl IndexMut<usize> for RationalVector[src]

impl Vector for RationalVector[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Az for T[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CheckedAs for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> OverflowingAs for T[src]

impl<T> SaturatingAs for T[src]

impl<T> StaticAs for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> WrappingAs for T[src]