GetValue

Trait GetValue 

Source
pub trait GetValue<const R: usize, const C: usize> {
    type Value;

    // Required method
    fn value(&self) -> Self::Value;
}
Expand description

Trait for extracting numerical values from AD matrices

§Type Parameters

  • R - Number of rows
  • C - Number of columns

Required Associated Types§

Source

type Value

The type of the extracted numerical values

Required Methods§

Source

fn value(&self) -> Self::Value

Extracts the numerical values from an AD matrix

Implementations on Foreign Types§

Source§

impl<const N: usize, const R: usize, const C: usize> GetValue<R, C> for SMatrix<Ad<N>, R, C>

Source§

type Value = Matrix<f64, Const<R>, Const<C>, ArrayStorage<f64, R, C>>

Source§

fn value(&self) -> Self::Value

Implementors§