[][src]Struct descent::expr::dynam::ExprDyn

pub struct ExprDyn {
    pub expr: Expr,
    pub info: ExprInfo,
}

Snapshot of a dynamically constructed expression Expr.

This wraps the final form of an Expr alongside expensive to compute "sparsity" information about the expression.

Fields

expr: Exprinfo: ExprInfo

Implementations

impl ExprDyn[src]

pub fn auto_const<R>(&self, store: &R, ws: &mut WorkSpace) -> Column where
    R: Retrieve
[src]

Constant derivatives by method auto selection.

It is the users resposibility to pass in a valid Retrieve for the variables and parameters present in the expression.

pub fn auto_dynam<R>(&self, store: &R, ws: &mut WorkSpace) -> Column where
    R: Retrieve
[src]

Dynamic values/derivatives by method auto selection.

It is the users resposibility to pass in a valid Retrieve for the variables and parameters present in the expression.

Trait Implementations

impl From<Expr> for ExprDyn[src]

impl From<ExprDyn> for Expression[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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.