Struct argmin::solver::conjugategradient::cg::ConjugateGradient [−][src]
pub struct ConjugateGradient<P, S> { /* fields omitted */ }
Expand description
The conjugate gradient method is a solver for systems of linear equations with a symmetric and positive-definite matrix.
References:
[0] Jorge Nocedal and Stephen J. Wright (2006). Numerical Optimization. Springer. ISBN 0-387-30303-0.
Implementations
Return the current search direction (This is needed by NewtonCG for instance)
Return the previous search direction (This is needed by NewtonCG for instance)
Trait Implementations
impl<'de, P, S> Deserialize<'de> for ConjugateGradient<P, S> where
P: Deserialize<'de>,
S: Default,
impl<'de, P, S> Deserialize<'de> for ConjugateGradient<P, S> where
P: Deserialize<'de>,
S: Default,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl<P, O, S, F> Solver<O> for ConjugateGradient<P, S> where
O: ArgminOp<Param = P, Output = P, Float = F>,
P: Clone + Serialize + DeserializeOwned + ArgminDot<O::Param, S> + ArgminSub<O::Param, O::Param> + ArgminScaledAdd<O::Param, S, O::Param> + ArgminAdd<O::Param, O::Param> + ArgminConj + ArgminMul<O::Float, O::Param>,
S: Debug + ArgminDiv<S, S> + ArgminNorm<O::Float> + ArgminConj,
F: ArgminFloat,
impl<P, O, S, F> Solver<O> for ConjugateGradient<P, S> where
O: ArgminOp<Param = P, Output = P, Float = F>,
P: Clone + Serialize + DeserializeOwned + ArgminDot<O::Param, S> + ArgminSub<O::Param, O::Param> + ArgminScaledAdd<O::Param, S, O::Param> + ArgminAdd<O::Param, O::Param> + ArgminConj + ArgminMul<O::Float, O::Param>,
S: Debug + ArgminDiv<S, S> + ArgminNorm<O::Float> + ArgminConj,
F: ArgminFloat,
Auto Trait Implementations
impl<P, S> RefUnwindSafe for ConjugateGradient<P, S> where
P: RefUnwindSafe,
S: RefUnwindSafe,
impl<P, S> Send for ConjugateGradient<P, S> where
P: Send,
S: Send,
impl<P, S> Sync for ConjugateGradient<P, S> where
P: Sync,
S: Sync,
impl<P, S> Unpin for ConjugateGradient<P, S> where
P: Unpin,
S: Unpin,
impl<P, S> UnwindSafe for ConjugateGradient<P, S> where
P: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V