[][src]Struct argmin::core::MinimalNoOperator

pub struct MinimalNoOperator {}

Minimal No-op operator which does nothing, really.

Methods

impl MinimalNoOperator[src]

No-op operator with fixed types (See ArgminOp impl on MinimalNoOperator)

pub fn new() -> Self[src]

Constructor

Trait Implementations

impl ArgminOp for MinimalNoOperator[src]

type Param = Vec<f64>

Type of the parameter vector

type Output = f64

Output of the operator

type Hessian = Vec<Vec<f64>>

Type of Hessian

type Jacobian = Vec<f64>

Type of Jacobian

type Float = f64

Precision of floats

fn apply(&self, _p: &Self::Param) -> Result<Self::Output, Error>[src]

Do nothing, really.

fn gradient(&self, _p: &Self::Param) -> Result<Self::Param, Error>[src]

Do nothing, really.

fn hessian(&self, _p: &Self::Param) -> Result<Self::Hessian, Error>[src]

Do nothing, really.

fn modify(&self, _p: &Self::Param, _t: f64) -> Result<Self::Param, Error>[src]

Do nothing, really.

impl Clone for MinimalNoOperator[src]

impl Copy for MinimalNoOperator[src]

impl Debug for MinimalNoOperator[src]

impl Default for MinimalNoOperator[src]

impl<'de> Deserialize<'de> for MinimalNoOperator[src]

impl Display for MinimalNoOperator[src]

impl Eq for MinimalNoOperator[src]

impl Hash for MinimalNoOperator[src]

impl Ord for MinimalNoOperator[src]

impl PartialEq<MinimalNoOperator> for MinimalNoOperator[src]

impl PartialOrd<MinimalNoOperator> for MinimalNoOperator[src]

impl Serialize for MinimalNoOperator[src]

impl StructuralEq for MinimalNoOperator[src]

impl StructuralPartialEq for MinimalNoOperator[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,