Skip to main content

Q

Type Alias Q 

Source
pub type Q = Ratio<BigInt>;
Expand description

The exact rational number used by the exact linear algebra, linear programming, polytope and certificate modules (Ratio<BigInt>). Re-exported as linprog::Q and in the prelude.

Aliased Type§

pub struct Q { /* private fields */ }

Trait Implementations§

Source§

impl Add<&Expr<Numeric>> for Q

Source§

type Output = Expr<Numeric>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &Ex) -> Ex

Performs the + operation. Read more
Source§

impl Add<Expr<Numeric>> for Q

Source§

type Output = Expr<Numeric>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Ex) -> Ex

Performs the + operation. Read more
Source§

impl Div<&Expr<Numeric>> for Q

Source§

type Output = Expr<Numeric>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Ex) -> Ex

Performs the / operation. Read more
Source§

impl Div<Expr<Numeric>> for Q

Source§

type Output = Expr<Numeric>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Ex) -> Ex

Performs the / operation. Read more
Source§

impl ExactScalar for Q

Source§

fn matrix_name() -> &'static str

Name used by Debug output (ZMatrix / QMatrix).
Source§

impl Mul<&Expr<Numeric>> for Q

Source§

type Output = Expr<Numeric>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Ex) -> Ex

Performs the * operation. Read more
Source§

impl Mul<Expr<Numeric>> for Q

Source§

type Output = Expr<Numeric>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Ex) -> Ex

Performs the * operation. Read more
Source§

impl Scalar for Q

Source§

impl Sub<&Expr<Numeric>> for Q

Source§

type Output = Expr<Numeric>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &Ex) -> Ex

Performs the - operation. Read more
Source§

impl Sub<Expr<Numeric>> for Q

Source§

type Output = Expr<Numeric>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Ex) -> Ex

Performs the - operation. Read more