[−][src]Struct descent::expr::dynam::ExprInfo
Sparsity and other information about an Expr
for guiding AD process.
Linear and quadratic respective first and second derivatives only need to
be computed once on parameter change. The usize
pairs represent indices
into nlin
. They are local variable mappings.
The contracts from Degree
are expected to be held.
Fields
lin: Vec<ID>
Constant first derivative
nlin: Vec<ID>
Non-constant first derivative
quad: Vec<(usize, usize)>
Constant second derivative
nquad: Vec<(usize, usize)>
Non-constant second derivative
quad_list: Vec<Vec<ID>>
nquad_list: Vec<Vec<ID>>
Implementations
impl ExprInfo
[src]
Trait Implementations
impl Clone for ExprInfo
[src]
impl Debug for ExprInfo
[src]
impl Default for ExprInfo
[src]
impl PartialEq<ExprInfo> for ExprInfo
[src]
impl StructuralPartialEq for ExprInfo
[src]
Auto Trait Implementations
impl RefUnwindSafe for ExprInfo
[src]
impl Send for ExprInfo
[src]
impl Sync for ExprInfo
[src]
impl Unpin for ExprInfo
[src]
impl UnwindSafe for ExprInfo
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,